[PHP] Probs with a form

2003-07-04 Thread LPA
Hey, I must send datas threw a form, but I dont want to have a submit button.. Is there a way to 'simulate' the click of a submit button? Thnx for your help Laurent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to use objects, variables in an eval() func ?

2003-06-10 Thread LPA
Hi, I have an eval which evaluate a block of code before echo the result on the screen.. Here is the func : function t_eval($texte) { ob_start(); eval("?>".$texte); $retval = ob_get_contents(); ob_end_clean(); return $retval; } But I use some objects for databases, ... and when i trying t

[PHP] How to use objects, variables in an eval() func ?

2003-06-10 Thread LPA
Hi, I have an eval which evaluate a block of code before echo the result on the screen.. Here is the func : function t_eval($texte) { ob_start(); eval("?>".$texte); $retval = ob_get_contents(); ob_end_clean(); return $retval; } But I use some objects for databases, ... and when i trying