I have a huge table to put in the while loop, but i'm finding it difficult to concatenate it. How can I add multilines with more ?
<?php
$dbhost = 'xxxx';
$dbuser = 'xxxx';
$dbpass = 'xxxx';
$dbname = 'xxxx';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
mysql_select_db($dbname, $conn);
$result = mysql_query("SELECT * FROM table", $conn);
while ($row = mysql_fetch_array($result))
{
echo '<tr align="center"><td width='200'>' . htmlspecialchars($row['Picturedata']) . '</td>';
echo '<td width="700"><h1>' . htmlspecialchars($row['name'] . '</td>' ;
}
?>
I get syntax error, unexpected ';'