|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-24 04:20 UTC] carlcastoldi at hotmail dot com
[2004-05-24 06:36 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
Description: ------------ File name "searchstudent.php" contains a form that calls itself upon submission to enter the form data into a database. Problem : instead of submiting Form variables, page refreshes itself. Code works on a Windows 2000 Pro IIS / PHP 4.0.4 server but not on an Apache with PHP 4.3.4, nor on a Windows 2000 / PHP 4.3.5. Is there something in the php.ini file I should be made aware of? Reproduce code: --------------- <? if (isset($Submit) { // UPDATE DATABASE WITH FORM Values } else { <? <form method="post" action="searchstudent.php"> .. .. <input type="submit" name="Submit" value="Search"> </form> <? } ?> Expected result: ---------------- Expected result is a successful submission of the form. Actual result: -------------- Actual result, page refreshes with empty textfield, etc.