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($value, $findme)) {
         $value_new = ltrim($value);
         print "$value_new<br>";
     }

}

Thanks

Chris

Reply via email to