Ad block is installed and active. Please support us by disabling it.
HomeSunday, November 19, 2017, 14:10:09
2

PHP $_POST Function

Tuesday, February 10, 15, 01:12:44, 3 Yaers Ago Via wain, Hits: 2932
Collect values from a form sent with method post
index.php

Code:
<form action="post.php" method="post">
<input type="text" name="link"><br>
<input type="text" name="category"><br>
<input type="submit" value="Submit">


post.php

Code:
<?php
$link = $_POST["link"];
$category = $_POST["category"];
echo $link;
echo '<br />';
echo $category;
?>

Sign In

Sponsor

Related

Jquery PHP Contact Form

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

Advanced Contact Form - PHP Script

Advanced Contact Form with email and form field validation. Features: HTML Output(Response), Captcha Image.

How to check checkbox checked

Checking if checkbox is checked with jQuery

PHP File Create

Create and write data to a file using the php frwite function.

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

Jquery - Formatting International Phone Numbers

How to format international telephone numbers with jquery

Show / Hide Div with CSS

CSS Display and Visibility:The visibility property specifies whether or not an element is visible.

PHP Write to File

PHP Write to File :: PHP Tutorial, requirement(s): PHP server

Upload Image With PHP

[Example3] Tutorial - How to upload image in php.
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.