Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php clear post data

when submit a form then after processing all of your logic just write down below after logic ending:

empty all of your form fields for example:

$_POST['name'] = $_POST['email'] = $_POST['name'] = "";
Comment

PREVIOUS NEXT
Code Example
Php :: carbon compare same date 
Php :: how to delete item from array php 
Php :: file put contents php 
Php :: get data from another table laravel 
Php :: laravel parse markdown 
Php :: setcookie in php 
Php :: php one hour in the future 
Php :: php number format without rounding 
Php :: update woocommerce cart 
Php :: php get all array keys in json 
Php :: php pdo sql server connect 
Php :: how to insert data in table and fetch in wordpress 
Php :: job with queue name in laravel 
Php :: laravel where null 
Php :: php upload multiple files 
Php :: php detect crawler 
Php :: symfony messenger routing 
Php :: laravel logs 
Php :: php pdo setting error modes 
Php :: how to use include in php 
Php :: php url variables 
Php :: clear session in laravel 
Php :: php pdo error 500 
Php :: laravel scheduler on shared hosting 
Php :: dd php 
Php :: php get last index of array 
Php :: laravel if else condition in blade file 
Php :: object of class stdclass could not be converted to string php laravel 
Php :: python to php converter online 
Php :: PHP DateTime Format date time according to a time zone 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =