Hi,
I need som assistance placeing an HTML table within a PHP script. I thought I could just echo it, but I am getting a parse error. Here is the PHP code: (the parse error comes on line 339
<?php
/* declare some relevant variables */
$DBhost = "localhost";
$DBuser = "username";
$DBpass = "password";
$DBName = "allin1em_catalog";
$table = "items";
mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database");
@mysql_select_db("$DBName") or die("Unable to select database $DBName");
$sqlquery = "SELECT * FROM $table WHERE store = 'Luminescents'";
$result = mysql_query($sqlquery);
while($row = mysql_fetch_array($result)) {
echo "". $row[title] .
"http://www.allin1emall.com/images/ ". $row[thumb]. " title=" alt=""
style="width: 150px; height: 150px;">
". $row[description]. "". $row[retail]. "
".;
}
if(mysql_num_rows($result)<1){
echo "No
Results!";
}
mysql_free_result($result);
?>
Any help will be much appreciated.
Thanks,
Traci