Thread: php question
View Single Post
Old 06-09-2005, 03:25 AM  
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
Ok changed to:

Code:
/* Dsiplay results in a table */

echo "<table cellspacing='10' border=0' cellpadding='0' width='100%'?";
echo "<tr><td colspan='5' align='right'>Click on any picture to see a larger version.<br><hr></td></tr>\n";

while ($row = mysql_fetch_array{result,MYSQL_ASSOC))


/* display row for each listingid */
echo "<tr>\n";
echo "<td>".$row['intersection1']."</td>\n";
?>
Now I get this error:


Parse error: parse error, unexpected '{' in /public_html/pa/index.php on line 22
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote