I have connected to my database and retreived the result $Result.
$Result is a whole table. from $Result i want to send all the info from the while loop to the next page.
while ($Row = mysql_fetch_array ($Result)) {
print "$Row[firstname]\n";
print "$Row[lastname]\n";
print "$Row[username]\n";
print "$Row[password]\n";
}
I have tried registering $Result with a session i.e. session_register("Result").
Then tried the while loop above, on the next page, to retreive the data. This doesn't work.
Any ideas please.
Do i have to modify $Result before i can register it with a session?