Hi

Have a problem. Need to pass a multiple array through a form using a
PHP_SELF.
I pass it whith a hidden variabel but i get an error warning.

"Warning: Supplied argument is not a valid MySQL result resource in..."

The code is:

$qu2             ="SELECT * FROM test_tabel ;";
$result       = mysql_query($qu2);
$num         = mysql_num_rows($result);

i take out some info from test_table (there are some questions in the table
that the user need to answer), the user does some operation, clicks submit
and is supposed to be presented whith the next question in the table. I pass
the variable like this:

<INPUT TYPE='hidden' VALUE='$result' NAME='result'>

But no way josey. I get that warning.

Anybody got i nice solution please.





------------------------------------------
Rodrigo San Martin
Institutt for datateknologi og informatikk

http://www.idi.ntnu.no/~rodrigo




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to