Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

send data with href

This is the best trick in my life 

<a href="./display.php?data=Data1&data2=Data120">Click here</a>

<?php
    if(isset($_GET["data"]) && isset($_GET["data2"]))
    {
        $data = $_GET["data"];
        $data2 = $_GET["data2"];
    }
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #data #href
ADD COMMENT
Topic
Name
7+2 =