Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get data from url

// previous link 
<a href="test_get.php?subject=PHP&web=W3schools.com">Test $GET</a>
// the code
<?php
echo "Study " . $_GET['subject'] . " at " . $_GET['web'];
?>
 
PREVIOUS NEXT
Tagged: #php #data #url
ADD COMMENT
Topic
Name
7+3 =