Hi Guys, For some reason my code is returning no results and is not working, Basically I've created an ajax search box that searches a php file with the code below, I basically need it to be in the format below, just listing all of the data in the stations table.
Any ideas?
Code:<?php include ("/home/welovera/public_html/inc/database.php"); $query1 = mysql_query ( "SELECT * FROM `Stations`" ); while ( $sta = mysql_fetch_object ( $query1 ) ){ $fruits = array( '$sta->Title' => array('image' => '$sta->Logo', 'description' => '$sta->Genre'), );} ?>




Reply With Quote