Jump to content

GET without form


leedude

Recommended Posts

Is there some way to make send a GET or POST variable like a session variable, without using a field.
Something like this:
[code]
<?php
$_GET['data'] = "hello";
echo "<a href = "page2.php">page 2</a>";
?>
[/code]
Would produce: 86.131.190.81/page2.php?data=hello
Usually i have to use a hidden field, which can get very tedious.
Link to comment
https://forums.phpfreaks.com/topic/15511-get-without-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.