mysql_fetch_array
Posted: Sat Oct 02, 2004 2:46 am
Is there a way to put the results of mysql_fetch_array into a session?
ex:
$sql = "SELECT ID FROM DATA";
while ($row = mysql_fetch_array($sql)) {
echo $row['id'] //i need all of the results for this in a session
}
not sure how much sense that makes, but maybe someone here understands me
ex:
$sql = "SELECT ID FROM DATA";
while ($row = mysql_fetch_array($sql)) {
echo $row['id'] //i need all of the results for this in a session
}
not sure how much sense that makes, but maybe someone here understands me