Hi Joel,
I sugees use the session or cookies to store objects y his values:
some example:
I use this funtions to set cookies with php:
-Retrieve the cookie value:
$nameVar = $HTTP_COOKIE_VARS["nameVar"];
- Set the cookie Value:
SetCookie("nameVar",yourValue, time()+86400*365, "/", "yourDoaim.xx", 0);
If you have any question consult the php reference manual on
http://www.php.net or send
other email to us.
Good luck!!
Luis Morales
if you
Joel Wickard wrote:
> Hello All.
> When I submit a form, I want to dynamically store the variables in an
> object. Like so.
>
> while(list($var_name,) = each($HTTP_POST_VARS))
> {
> eval("$data_insert->" . $var_name . " = $" . $var_name . ";");
> }
>
> And I get this error:
>
> Parse error: parse error, expecting `T_STRING' in c:\program files\apache
> group\apache\htdocs\dbo\rep_app\add_house.phtml on line 28
>
> Any Help?