Hi again. $result = mysql_query("SELECT id FROM table"); $id_array = array(); while ($r = mysql_fetch_array($result)) $id_array[] = $r["id"]; // now $id_array[] is an array of IDs that was grabbed from the database. Any faster and/or better approache to build the $id_array? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] Mysql Help #2 elias
- Re: [PHP] Mysql Help #2 Miles Thompson
- Re: [PHP] Mysql Help #2 Tom Carter