Ad block is installed and active. Please support us by disabling it.
HomeThursday, September 21, 2017, 03:19:52
2

PHP $_POST Function

Tuesday, February 10, 15, 01:12:44, 3 Yaers Ago Via wain, Hits: 2621
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

Site Recommendation

This script will allow your visitors to recommend your site to their friends.

PHP Redirect

Header (location) redirect must be processed before any output to the browser.

PHP $_SESSION

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.

PHP/MySQL Bookmarklet - PHP Tutorial

PHP/MySQL bookmarklet, bookmark current page, PHP/MySQL tutorial.

Convert pdf to image - mpdf

Convert pdf file to jpg with php and mpdf

Email to Friend - PHP Script

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

PHP Forms

FREE PHP forms

Images In Textarea - CSS

Tutorial Images in Textarea

MySQL to RSS

Publishing MySQL data in RSS
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.