 |
| ::: T4VN Statistics ::: |
PHP Scripts : 35
|
PHP Example : 67
|
PHP Tutorials : 21
|
PHP News : 91
|
Total Coupon : 36
|
Other Tutorials :
|
Member : 168
|
Visitor Online : 1
|
Today Visit: 256
|
Total Visitor : 88106
|
Most Online : 25
|
|
|
 |
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 ::: |
|
|