RE: [PHP]Getting rows in a db...

2001-08-01 Thread Lawrence . Sheed
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

Re: [PHP]Getting rows in a db...

2001-08-01 Thread Richard Lynch
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

Re: [PHP]Getting rows in a db...

2001-08-01 Thread David Robley
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

[PHP]Getting rows in a db...

2001-08-01 Thread Chris Cocuzzo
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