User Tools

Site Tools


passing_a_value_in_the_url_for_use_by_php

Passing a value in the URL for use by PHP

When you pass a value in a URL, like this: www.mysite.com/mypage.php?id=20

You can access the value (or values) passed as follows:

$myid = $_GET['id'];
passing_a_value_in_the_url_for_use_by_php.txt · Last modified: 2024/08/11 18:08 by jimc