Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: August 2, 2001 2:13 PM
To: Chris Cocuzzo; [EMAIL PROTECTED]
Subject: Re: [PHP]Getting rows in a db...
On Thu, 2 Aug 2001 14:57, Chris Cocuzzo wrote:
> hey-
>
> if I do this:
>
> $query = "SELECT user FROM table WHER
sday, August 02, 2001 12:27 AM
Subject: [PHP]Getting rows in a db...
> hey-
>
> if I do this:
>
> $query = "SELECT user FROM table WHERE cat='band'";
> $result = mysql_query($query,$conn);
> $rows = mysql_num_rows($result);
>
> will I get something b
On Thu, 2 Aug 2001 14:57, Chris Cocuzzo wrote:
> hey-
>
> if I do this:
>
> $query = "SELECT user FROM table WHERE cat='band'";
> $result = mysql_query($query,$conn);
> $rows = mysql_num_rows($result);
>
> will I get something back from the $rows variable, or am I using the
> mysql_num_rows() fun
hey-
if I do this:
$query = "SELECT user FROM table WHERE cat='band'";
$result = mysql_query($query,$conn);
$rows = mysql_num_rows($result);
will I get something back from the $rows variable, or am I using the
mysql_num_rows() function incorrectly. What I'm trying to do is get the
number of row
4 matches
Mail list logo