|
Posted by robert on 05/18/06 19:39
| Hi ED,
|
| I switched to an absolute URL with the same result....
| Warning: Cannot modify header information - headers already sent by
(output
| started at
| /home3/thetruth/thetruthsearch-www/explore/what_did_jesus_claim.php:7) in
| /home3/thetruth/thetruthsearch-www/explore/what_did_jesus_claim.php on
line
| 322
to simplify...
if you had a submit button in your form:
<input type=submit name=sendIt value="Submit">
then in your php, make this the FIRST set of code at the BEGINNING of your
script:
<?
$sendIt = isset($_POST['sendIt']);
if ($sendIt)
{
// your stuff to validate info here
// then...
header('location:http://yourdomain/your.thank.you.php.page');
exit;
}
then that would take care of the "headers already sent" error. then you
could get on with more important problems...like putting maxlength on your
input fields, etc..i typed a sermonette in even the smallest of the inputs
you had (the ones requiring only yes/no responses).
;^)
hth,
me
Navigation:
[Reply to this message]
|