HomeSunday, February 19, 2017, 21:13:59
1

PHP Form Basic

Tuesday, February 10, 15, 09:37:47, 2 Yaers Ago Via wain, Hits: 1574
PHP Form - PHP form basic, Requirement(s): PHP Server
Download source code :
http://phpform.net/download.php?f=form-basic.zip

Example:

Code:
<?php
if(isset($_POST['submit']))
{
$subject = $_POST['subject'];
$text = $_POST['text'];
echo $subject . '::' . $text . ' Ok';
}else{
?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="subject">
<input type="text" name="text">
<input type="submit" name="submit" value="Submit">
</form>
<?php } ?>

Guest Sunday, February 12, 2012, 12:12:00

Just wanted to say thanks you for the code.

Sign In

Web Hosting


Related

GuestBook PHP Script

Allow visitors to leave messages on your site. It features easy install, admin notification, and control panel to remove unwanted entries.

PHP filesize

The filesize function returns the size of the specified file.

Preventing multiple form submissions

Preventing multiple form submissions

Smarty Paginate Example - Smarty Pagination with PHP

Smarty Paginate Example, Smarty Pagination with PHP. SmartyPaginate: a class/plugin for data set pagination within the Smarty template environment

Sending HTML Email With Images - PHP Tutorial

Sending HTML Email With Images - Upload Image with PHP - Creating Dynamic Webpages Using PHP and MySQL - Select, Delete, Update..

PHP $_POST Function

Collect values from a form sent with method post

PHP Jquery Form

PHP Jquery Form allow your visitors to contact you directly from your website.

Bookmark Script

Allow your users to easily bookmark your site, by clicking on a link on the page.

Creating a CAPTCHA with PHP with imagecreate

This tutorial will show you how to create a form with Captcha, Requirement(s): PHP Server, GD Graphics Library

PHP Trim

trim() Strip whitespace (or other characters) from the beginning and end of a string.
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Sat, Feb 18, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.