 |
| ::: T4VN Statistics ::: |
PHP Scripts : 61 |
PHP Example : 67 |
PHP Tutorials : 21 |
PHP News : 93 |
Total Coupon : 36 |
Other Tutorials : |
Member : 209 |
Visitor Online : 6 |
Today Visit: 387 |
Total Visitor : 262397 |
Most Online : 31 |
|
 |
 |
Preserve user input
Author : 448191
An easy way to preserve whatever the visitor entered in your form, multiple times trhough...
| PHP Example : | |
while(list($key, $value) = each($_POST))
{
$_SESSION['POST'][$key] = $value;
}
////////EXAMPLE///////
<input name="url" type="text"
<?php
if(isset($_SESSION['POST']['url'])) { echo " value="".$_SESSION['POST']['url']."""; }
?>
id="url">
----------------------------
|
|
| |

|
 |
| ::: Resources ::: |
|
|
| ::: New Templates ::: |
|
| ::: Other Tutorials ::: |
|
 |