*SOLVED* Html Table In php
Posted: Wed Mar 03, 2004 10:08 am
Hi
i am having trouble with the if, else statement. i can get the if part to work but u need to make the page create a table with sql queries in it in the else part.
Heres my if else statment. is there any way of putting html in the else part?
Cheers Lee
i am having trouble with the if, else statement. i can get the if part to work but u need to make the page create a table with sql queries in it in the else part.
Heres my if else statment. is there any way of putting html in the else part?
Code: Select all
<?php
if(mysql_num_rows($query_Recordset1) < 1) {
echo "There are no cars in this section.";
} else {
} ;
?>