|
Posted by comp.lang.php on 03/20/06 18:19
[PHP]
Other: <input name="school_type_other" size="30" maxlength="75"
value="<?php
if ($_POST['hasReviewedApplicant']) echo $_POST['school_type_other'];
else echo str_replace('"', '"', str_replace('\\', '',
$result[0]->school_type_other));
?>">
[/PHP]
I verified via both var_dump() and print_r() that
$_POST['hasReviewedApplicant'] = 1 and that $_POST['school_type_other']
= null, even when you enter something into the text field, it's still
null!
Can someone tell me what on earth I did wrong this time? I'm lost here!
Thanx
Phil
Navigation:
[Reply to this message]
|