Re[2]: [PHP] ASP to PHP language problems
| From: | Richard Davey | Date: | Wed, 10 Mar 2004 23:39:31 +0000 |
| Subject: | Re[2]: [PHP] ASP to PHP language problems | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180067@lists.php.net to get a copy of this message | ||
Hello Alistair,
Wednesday, March 10, 2004, 11:26:53 PM, you wrote:
AH> I get this error: mysql_num_rows(): supplied argument is not a valid
AH> MySQL result resource
Then your database connection failed OR the SQL query did. Check those
steps over before anything else.
Maybe post that part of your code so we can see?
AH> Question: Where you have the //do stuff comment, I assume this is where
AH> my HTML code will go. But can I put it between the open brackets? I.E:
AH> {
AH> html code
AH> }
Yes like so:
{
?>
html here
<?
}
Just like in ASP :)
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html