12-04-2008, 11:39 PM
|
#3 (permalink)
|
|
The Addict
Join Date: Apr 2008
Posts: 200
Thanks: 18
|
PHP Code:
$a=array(); try{ $q=mysql_query('SELECT ArticleID FROM articles') or die(mysql_error()); echo mysql_affected_rows(); echo '<br />'; var_dump($q); echo '<br />'; while($res=mysql_fetch_assoc($q)) #####Check wildhoney posted!! array_push($a, $res); var_dump($a); echo '<br />'; }catch(Exception $e){ echo $e->getMessage(); exit(); }
|
|
|
|