Posted by Jerim79 on 11/21/06 17:54
BKDotCom wrote:
> I appologize, but what is with all the MySQL questions?
>
> RTFM!
>
> http://us2.php.net/manual/en/ref.mysql.php
>
> $result = mysql_query($query);
> $rows = array();
> $num_rows = mysql_num_rows($result);
> for ( $i=0; $i<$num_rows; $i++ )
> $rows[] = mysql_fetch_assoc($result);
> print_r($rows);
Oh, I am sorry. I thought this was a newsgroup about PHP. My bad.
Navigation:
[Reply to this message]
|