Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
validation.php submit error March 11, 2013 11:56AM |
Registered: 12 years ago Posts: 30 Rating: 0 |
Language: PHPif(count($errors_array) != 0) { show_errors(); if(isset($_REQUEST["two"])){ // from a hidden field in the second form presented show_errors(); } }
Re: validation.php submit error March 11, 2013 02:28PM |
Registered: 12 years ago Posts: 28 Rating: 1 |
Re: validation.php submit error March 11, 2013 02:36PM |
Registered: 12 years ago Posts: 28 Rating: 1 |
Re: validation.php submit error March 11, 2013 02:51PM |
Registered: 12 years ago Posts: 30 Rating: 0 |
Re: validation.php submit error March 11, 2013 02:54PM |
Registered: 12 years ago Posts: 30 Rating: 0 |
Re: validation.php submit error March 11, 2013 03:46PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: validation.php submit error March 11, 2013 05:14PM |
Registered: 12 years ago Posts: 30 Rating: 0 |
Re: validation.php submit error March 12, 2013 09:20AM |
Registered: 12 years ago Posts: 28 Rating: 1 |
Re: validation.php submit error March 15, 2013 01:27PM |
Registered: 12 years ago Posts: 30 Rating: 0 |
Re: validation.php submit error April 17, 2013 10:38PM |
Registered: 11 years ago Posts: 7 Rating: 0 |
Language: PHP<?php function show_welcome() { $title = isset($_REQUEST["title"]) ? $_REQUEST["title"] : ""; $name = isset($_REQUEST["name"]) ? $_REQUEST["name"] : ""; $surname = isset($_REQUEST["surname"]) ? $_REQUEST["surname"] : ""; $address = isset($_REQUEST["address"]) ? $_REQUEST["address"] : ""; $age = isset($_REQUEST["age"]) ? $_REQUEST["age"] : ""; echo "<form method ="POST" action ="validation.php">"; echo "<p>TITLE:<br>"; echo "<input type ="text" name ="title" size =4 value=';", $title, "';></p>"; echo "<p>NAME:<br>"; echo "<input type ="text" name ="name" size =30 value=';", $name, "';></p>"; echo "<p>SURNAME:<br>"; echo "<input type ="text" name ="surname" size =30 value=';", $surname, "';></p>"; echo "<p>ADDRESS:<br>"; echo "<input type ="text" name ="address" size =70 value=';", $address, "';></p>"; echo "<p>AGE:<br>"; echo "<input type ="age" name ="age" size =2 value=';", $age, "';></p>"; echo "<p><input type ="submit" name ="submit" value ="Submit"></p>"; echo "<input type=hidden name=';welcome_already_seen'; value=';already_seen';>"; echo "</form>"; } ?>
Re: validation.php submit error April 18, 2013 09:11AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: validation.php submit error April 18, 2013 06:34PM |
Registered: 11 years ago Posts: 7 Rating: 0 |
Re: validation.php submit error April 18, 2013 11:58PM |
Registered: 13 years ago Posts: 5 Rating: 0 |
Re: validation.php submit error April 19, 2013 08:52AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: validation.php submit error April 24, 2013 09:01PM |
Registered: 12 years ago Posts: 6 Rating: 0 |
Re: validation.php submit error April 25, 2013 07:59AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |