RE: [PHP] Checking $_POST var and stripping

2006-07-24 Thread Jay Blanchard
[snip] Can anyone help with this ? its checking the $_POST and seeing if any of the items begin with answer_, if the do it should remove it from the beginning and place it into $value_new.. does not seem to work though... foreach($_POST as $qid => $value) { $findme = 'answer_'; if(stripos($v

[PHP] Checking $_POST var and stripping

2006-07-24 Thread Chris Grigor
Hi Can anyone help with this ? its checking the $_POST and seeing if any of the items begin with answer_, if the do it should remove it from the beginning and place it into $value_new.. does not seem to work though... foreach($_POST as $qid => $value) { $findme = 'answer_'; if(stripos($va