I have this…
echo "<div id="dave"><h2>" . $row['title'] . "<br /></b></h2>";
echo "<p>" .$row['description'] . "<br /></p>";
echo "<p><b>Step 1:</b> " .$row['step1'] . "<br /></p>";
echo "<p><b>Step 2:</b> " .$row['step2'] . "<br /></p>";
echo "<p><b>Step 3:</b> " .$row['step3'] . "<br /></p>";
echo "<p><b>Step 4:</b> " .$row['step4'] . "<br /></p>";
echo "<p><b>Step 5:</b> " .$row['step5'] . "<br /></p>";
echo "<p><b>Step 6:</b> " .$row['step6'] . "<br /></p>";
echo "<p><b>Step 7:</b> " .$row['step7'] . "<br /></p>";
echo "<p><b>Step 8:</b> " .$row['step8'] . "<br /></p>";
echo "<p><b>Step 9:</b> " .$row['step9'] . "<br /></p>";
echo "<p><b>Step 10:</b> " .$row['step10'] . "<br /></p>";
echo "<p><b>Category:</b> " .$row['maincat'] . "<br /></p>";
echo "<p>" ."<img src='images/".$row['image1']. "' /><br /></p></div>";
Which breaks due to this bit
<div id="dave">
It gives this error…
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/fhlinux009/n/niallomeara.co.uk/user/htdocs/gallery/index.php on line 47
Can I not use CSS id’s inside PHP tags?