error_reporting(E_ALL ^ E_NOTICE); include ("query.php"); $g='main'; $q='side'; function get_details($q){ $table = "products"; $params = "*"; $string = "WHERE catagory ='$q' LIMIT 8"; $type = 1; $db = query::select($params, $table, $string, $type); return $db; } $data = get_details($q); function get_last($g){ $table = "products"; $params = "*"; $string = "WHERE catagory ='$g' LIMIT 12"; $type = 1; $db = query::select($params, $table, $string, $type); return $db; } $last = get_last($g); function get_other(){ $table = "products"; $params = "*"; $string = "LIMIT 21"; $type = 1; $db = query::select($params, $table, $string, $type); return $db; } $other = get_other(); function get_words($sentence, $count = 15) { preg_match("/(?:\w+(?:\W+|$)){0,$count}/", $sentence, $matches); return $matches[0]; } //function get_word($sent, $cou = 20) { //preg_match("/(?:\w+(?:\W+|$)){0,$cou}/", $sent, $match); //return $match[0]; //} ?> Mexi Recipes - Best USA Recipe Community

Breakfast Special

Popular Recipes!

Choose your choice.