$_POST via href?
Posted: Mon Jun 11, 2007 10:16 am
Is it possible to not use a form button with $_POST but instead just a text link?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<a href="page.php?input=value+of+input">page.php</a>Code: Select all
<?php
echo $_GET['input']; // Outputs value of the URL-variable called 'input' (value+of+input in this case)
?>