prefix."fare"; $fares = $wpdb->get_row("SELECT * FROM $table_name",ARRAY_A); return $fares; } // The shortcode function asi_map_shortcode($atts) { $allfare=get_allfares(); $cartype=new asi_map_plugin_admin(); $cartypes=$cartype->Get_allselected_car(); $select=''; $color=$allfare['color']; if($color!="") { $color='background-color:'.$allfare['color']; } $displayform='
'.$select.'
'; return $displayform; } ?>