Lost content after submit form

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
Acesystech
New php-forum User
New php-forum User
Posts: 35
Joined: Mon Aug 20, 2012 10:27 pm
Location: Ernakulam
Contact:

Re: Lost content after submit form

Post by Acesystech » Thu Sep 13, 2012 11:16 pm

Use this code

if(isset($_REQUEST['submit']))
{
$txtName = $_POST['txtName'];
$txtEmail = $_POST['txtEmail'];
$txtContent = $_POST['txtContent'];

// Insert data to database
}

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest