Re: Problems with mysql_num-rows()
| From: | Jason Wong | Date: | Mon, 01 Nov 2004 09:56:35 +0000 |
| Subject: | Re: Problems with mysql_num-rows() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37092@lists.php.net to get a copy of this message | ||
On Sunday 31 October 2004 18:32, Arne Essa Madsen wrote:
> I have the following problem:
>
> This one does not work:
> $query = "SELECT * from user where name='$userid' and
> pass=password('$password')";
print $query;
> $result = mysql_query($query, $link);
Use mysql_error().
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
An honest tale speeds best being plainly told.
-- William Shakespeare, "Henry VI"
nly
*/