HomeMonday, June 27, 2016, 12:55:18

PHP Form Basic

Tuesday, February 10, 15, 09:37:47, 1 Year Ago Via wain, Hits: 552
PHP Form - PHP form basic, Requirement(s): PHP Server
Download source code :


$subject = $_POST['subject'];
$text = $_POST['text'];
echo $subject . '::' . $text . ' Ok';
<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">
<?php } ?>

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

Just wanted to say thanks you for the code.

Sign In

Web Hosting
First Month Free with Coupon Code phpmonth
Unlimited Domains - Unlimited Storage
Unlimited Transfer - Unlimited Email

PHP form with file upload

Advanced Contact Form with email and form field validation. It allows your visitors to send you an email directly from your website.

How to check checkbox checked

Checking if checkbox is checked with jQuery

RSS, MySQL & Smarty

Smarty > Publishing MySQL Data in RSS 2.0

Bookmark Script

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

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.

Preventing multiple form submissions

Preventing multiple form submissions

MySQL – Select from two tables

Select data from two tables, PHP MySQL

PHP Fwrite : fwrite

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

PHP Cookies - setcookie

Defines a cookie to be sent along with the rest of the HTTP headers.


Session_start creates a session or resumes the current one based on a session identifier passed via a GET or POST request, or passed via a cookie.
About Author


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