Date: 11/15/00
- Next message: Alex Akilov: "Re: [PHP] RE: Tomcat 3.2 beta and PHP"
- Previous message: Ignacio Vazquez-Abrams: "Re: [PHP] Dreamweaver 4 ignores PHP - again"
- In reply to: Joe Stump: "Re: [PHP] Online Quizz"
- Next in thread: Mark Maggelet: "Re: [PHP] Getting Results from function"
- Reply: Mark Maggelet: "Re: [PHP] Getting Results from function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am using the Snoopy class to submit to a form and receive the results. I
am then parsing the hidden form fields
<input type="hidden" name="butterfinger" value="one">
<input type="hidden" name="snickers" value="good">
down to
butterfinger="one";
snickers="good";
Here is the call to the function:
if ($go){
$string=_stripform($snoopy->results);
//do some additional parsing here
$string2= ereg_replace ("<input type=\"hidden\" name=\"", " $", $string);
$string3= ereg_replace ("\" value", "", $string2);
$string4= ereg_replace (">", ";\r\n", $string3);
echo $string4;}
when I echo $string4, I get the correct results but they aren't parsed by
php. The variables list on the page as a text. I need the variables and I
don't understand how I can access the variables as in:
print $butterfinger;
Thanks in advance
Kevin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Alex Akilov: "Re: [PHP] RE: Tomcat 3.2 beta and PHP"
- Previous message: Ignacio Vazquez-Abrams: "Re: [PHP] Dreamweaver 4 ignores PHP - again"
- In reply to: Joe Stump: "Re: [PHP] Online Quizz"
- Next in thread: Mark Maggelet: "Re: [PHP] Getting Results from function"
- Reply: Mark Maggelet: "Re: [PHP] Getting Results from function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

