|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-08-11 16:31 UTC] nmk at iki dot fi
I had a simple script that is useless after I installed
php-4.2.2. Before I was using 4.1.0 and it worked fine.
It seems that in the php-4.2.2 it doesn't, for some odd reason, understand the posted $submit variable in the if-statement.
Any ideas?
- Niko
-- SCRIPT STARTS --
<?php
if($submit)
{
echo $tellme;
} else {
?>
<h1>Tell me!</h1>
<form method="post" action="this-script.php">
<textarea name="tellme"></textarea>
<input type="Submit" name="submit" value="Tell it!">
</form>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 23:00:01 2025 UTC |
I had a simple script that is useless after I installed php-4.2.2. Before I was using 4.1.0 and it worked fine. It seems that in the php-4.2.2 it doesn't, for some odd reason, understand the posted $submit variable in the if-statement. Any ideas? - Niko -- SCRIPT STARTS -- <?php if($submit) { echo $tellme; } else { ?> <h1>Tell me!</h1> <form method="post" action="this-script.php"> <textarea name="tellme"></textarea> <input type="Submit" name="submit" value="Tell it!"> </form> <?php } ?>