prefix."fare"; $fares = $wpdb->get_row("SELECT * FROM $table_name",ARRAY_A); return $fares; } // The shortcode function asi_shortcode($atts) { extract(shortcode_atts(array( "label_types" => __('Taxi Type:') , "label_type1" => __('Sedan') , "label_type2" => __('Minivan/ SUV') , "label_stop" => __('Add Additional Stops:') , "label_seat" => __('Car Seats:') , "label_submit" => __('Submit') , ), $atts)); $allfare=get_fares(); $cartype=new asi_plugin_admin(); $cartypes=$cartype->Get_selected_car(); $select=''; $color=$allfare['color']; if($color!="") { $color='background-color:'.$allfare['color']; } $displayform='
'.$select.'
'; return $displayform; } ?>