HomeFriday, June 23, 2017, 07:01:48
1

PHP Form Basic

Tuesday, February 10, 15, 09:37:47, 2 Yaers Ago Via wain, Hits: 2287
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

Sponsor

Related

Smarty - Create dynamic Web Pages with PHP & MySQL

Creating Dynamic Web Pages Using Smarty and MySQL - Requirement(s): PHP Server, MySQL

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.

How to insert new line (IP Address) with fwrite

How to insert new line (IP Address) with fwrite, Get IP address and write to file.

FeedBack Form with Captcha

It allows your visitors to send you an email directly from your website.

Captcha V1 - Free PHP Script

An anti-spam form protection image written in PHP, Version: 1.1.

Tell A Friend with Captcha

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

Preg_Match - PHP Form Validation

PHP form validation with preg_match

PHP Jquery Form

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

Timed Redirect JavaScript

Timed redirect javaScript/PHP example

MySQL – Select from two tables

Select data from two tables, PHP MySQL
About Author

wain

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