HomeSunday, June 24, 2018, 01:43:13
2

PHP $_POST Function

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

Comments 1.1. :: PHP Script

This script allows your visitors to add comments to any single page on your web site.

Random MySQL Query

Random MySQL query, requirement(s): PHP Server, MySQL

Smarty Paginate Example - Smarty Pagination with PHP

Smarty Paginate Example, Smarty Pagination with PHP. SmartyPaginate: a class/plugin for data set pagination within the Smarty template environment

PHP Form Action Self Submit

PHP form action self submit tutorial, requirement(s): PHP server

Smarty - Create dynamic Web Pages with PHP & MySQL

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

PHP Date Examples

Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given.

Upload Attachment - PHP Tutorial

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

MySQL Basic Functions

MySQL Basic Functions - select, delete, update..

Preg_Match - PHP Email Validation

Validate email with preg_match in php

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.
About Author

wain

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