Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Happens If an Expected Input Field Was Not Submitted
What Happens If an Expected Input Field Was Not Submitted? - PHP Script Tips - Processing Web Forms
✍: FYIcenter.com
Obviously, if an expected input field was not submitted, there will no entry in the $_REQUEST array for that field. You may get an execution error, if you are not checking the existence of the expected entries in $_REQUEST. For example, if you copy processing_forms.php to your local Web server, and run your browser with http://localhost/processing_forms.php?name=Joe, you will an error page like this:
You have submitted the following information: Name = Joe Comments = Thank you! PHP Notice: Undefined index: comment in ...\processing_forms.php on line 3
2007-04-23, 5632👍, 0💬
Popular Posts:
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
What metrics will you look at in order to see the project is moving successfully? Most metric sets d...
Can you tell me how to check whether a linked list is circular? Create two pointers, and set both to...
How do we host a WCF service in IIS? Note: - The best to know how to host a WCF in IIS is by doing a...
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can p...