Hi Could Someone Help Me With A Couple Of Coding Questions:
I have created the code below to fetch mysql rows with a certain value but every time i try it i get this error
Warning: Supplied argument is not a valid MySQL result resource in /homepages/14/d71795240/htdocs/frontfeature.php on line 15
This is the original code ignore the ********* for security
$db = mysql_connect ('******', '*****', '***');
mysql_select_db ('******');
$result = mysql_query ("Select product, price from products where frontfeatured = yes ",$db);
while ($myrow = mysql_fetch_array($result))
{
echo $myrow["product"];
}
My second question is how do you create html tables using php whenever I try to code I get errors like missing "" ' , parse error.
Could someone give me an example. Thanks For Your Help