I need help with:
[php]<?php
$sql=“SELECT * FROM tks
ORDER BY id
ASC”;
$prod=select($sql);
for($i=0;$i<count($prod)-1;$i++){
If $prod[$i][‘category’] == ‘Appetizers’
{?>
<?php
}}
?>[/php]
I want to display on page each line has Appetizers in it but not if it does not.
Thanks,
Ray