[!--quoteo(post=365374:date=Apr 16 2006, 03:24 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Apr 16 2006, 03:24 PM) [snapback]365374[/snapback][/div][div class=\'quotemain\'][!--quotec--] What errors? MySQL errors? [/quote] >> Parse error: parse error, unexpected T_VARIABLE in /home/content/j/o/e/joepro0000/html/display.php on line 3<< My code is- <? php // Vars - fill these in $address = "localhost"; // The address of your database server. Leave as "localhost" if it's on the same machine, otherwise put the IP or domain name of the machine it's on. $username = "Username"; // MySQL username $password = "Password"; // MySQL password $db = "joepro0000"; // The database to use $table = "Category"; // The table your data is in // Connect to the server $conn = mysql_connect($address, $username, $password); // Select database $rs = mysql_select_db($db, $conn); while($row = mysql_fetch_array($result)) { $line = $row[c]; echo $line; } ?>