Ad block is installed and active. Please support us by disabling it.
HomeSunday, August 20, 2017, 22:53:05
1

PHP Form Basic

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

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.

PHP Fwrite : fwrite

php write to file - how to write data to a file using the php frwite function

Filter Words in PHP - PHP Tutorial

Filter bad words in PHP, requirement(s): PHP server

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.

Upload Image with PHP [Example2]

[Example2] Tutorial - How to upload and resize image with PHP

Sitemap

phpForm.net Website Sitemap

Upload Attachment - PHP Tutorial

Upload attachment with PHP example, Requirement(s): PHP server

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

RSS, MySQL & Smarty

Smarty > Publishing MySQL Data in RSS 2.0

MySQL Inner Join

MySQL Inner Join - Creating Dynamic Webpages Using PHP and MySQL, Requirement(s): PHP Server, 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.