This is a discussion on Form Probllems within the Php and MySQL forums, part of the Programming / Scripting / Coding category; Could somebody tell me why this is not working? When i enter stuff into the text box and click Search ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| Newbie | Could somebody tell me why this is not working? When i enter stuff into the text box and click Search it just spits out hihihihihihihi and so on until the server crashes. Code: <form action="<? echo ($_SERVER['PHP_SELF']); ?>" method="post"> <textarea name="text" cols="50" rows="20" wrap="OFF"></textarea> <input type="submit" name="submit" value="Search"> <input type ="hidden" name="action" value ="Search"> </form> PHP Code: |
| | |
| | #3 (permalink) |
| Cool Newbie | or try this : if (isset($_POST["submit"])){ } http://uk2.php.net/manual/en/function.isset.php for more info |
| | |
| Tags |
| form, probllems |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Form to Mail | HostYorkshire | Php and MySQL | 0 | 08-01-2007 19:20 |
| Electronic Form | bradk | Website Design Forum | 7 | 03-03-2006 21:34 |
| Form help | JsPLACEwebby | Programming / Scripting / Coding | 2 | 05-12-2005 11:25 |
| Cpanel/WHM Auto Form | KF1 | Php and MySQL | 15 | 07-07-2005 16:43 |
| Contact Us Form? | Departed | Programming Articles | 0 | 22-04-2005 00:31 |