|
-
Mar 4th, 2003, 05:14 PM
#1
Thread Starter
Fanatic Member
[Resolved]mysql to array
Ok I make a query in mysql:
"SELECT * FROM ibf_moderators WHERE forum_id='".$class->forum['id']."'"
and then I want to load the each of the id column values from ibf_moderators in my $cc_array.
$cc_array = array();
while( $r = mysql_fetch_array($result2))
{
ADD VALUE into the array here
}
How do I loop through my results adding the id column into my $cc_array?
Last edited by stickman373; Mar 9th, 2003 at 11:48 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|