I have the following code:
$sql = "SELECT * FROM `galleryCategory`";
$result = $db->query($sql);
while($row = mysql_fetch_array($result)){
echo "<div title = {$row['category_title']}>";
echo "</div><br />";
}
The output should be (for example) “bmw 3 series“.
What this really shown me just a word “bmw”
What is needed to get the full string?
thanks everyone!
missing quotes for title attribute