Broken Code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bmx269
Forum Newbie
Posts: 7
Joined: Thu Oct 31, 2002 5:09 pm

Broken Code

Post by bmx269 »

Help....

I just updated my PHP from 4.1.2 to 4.2.3 and all my search code and submit code is broken. Here is what I have, any help would be much apreciated. This sucks, 5 minutes of fun, 2 days headache.


edit:

Thanks for the fix. Sorry for posting a repetitive post. I was going crazy.

foreach($_POST as $key=>$val){
$$key = $val;
}
foreach($_GET as $key=>$val){
$$key = $val;
}

fixed the pages perfectly.
Last edited by bmx269 on Thu Oct 31, 2002 5:48 pm, edited 1 time in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply