[SOLVED] data from mysql_fetch_array
Posted: Mon Nov 24, 2003 2:35 am
hey all,
for data collecting and printing from mysql i'm using mysql_fetch_array statement. e.g.
while ($area=mysql_fetch_array($result)){
print $area["name"];
}
$area is acitve only in while loop. how to store whole arrary for later use? when while {} is over $area not exist.
hope you understand me
p.
for data collecting and printing from mysql i'm using mysql_fetch_array statement. e.g.
while ($area=mysql_fetch_array($result)){
print $area["name"];
}
$area is acitve only in while loop. how to store whole arrary for later use? when while {} is over $area not exist.
hope you understand me
p.