I'm new to this and having a bit of trouble with the syntax.
<?php // Query the Database
$query = mysql_query("SELECT * FROM table_links");
while($row = mysql_fetch_array($query)) {
echo "manufacturer".
$row["manufacturer"] . "<br>";
} ?>
At the moment I have two questions.
(1) there is an error caused by the line that begins with "while"
(2) I want to only list items with a specific value in a field called cat.
Can someone assist me with this please?
Many thanks!
Gin