$_GET['id'];
Also you can set a variable to it as well.
$id = $_GET['id'];
print($id);
More Related Contents:
- URL Rewriting of a query string in php [duplicate]
- How do I expire a PHP session after 30 minutes?
- How to secure database passwords in PHP?
- Single result from database using mysqli
- PHP – Check if two arrays are equal
- Getting the names of all files in a directory with PHP
- Form submit with AJAX passing form data to PHP without page refresh [duplicate]
- Include PHP inside JavaScript (.js) files
- Is it possible to redirect post data?
- How to Get the Query Executed in Laravel 5? DB::getQueryLog() Returning Empty Array
- RGB to HSV in PHP
- Setting value of a HTML form textarea?
- How do I deep copy a DateTime object?
- php file upload, how to restrict file upload type
- Double not (!!) operator in PHP
- PHP get dropdown value and text
- Array_map function in php with parameter
- DateTime class vs. native PHP date-functions
- Parse a JavaScript file through PHP
- variable variables
- PHP 7.4 deprecated get_magic_quotes_gpc function alternative
- Delete first 3 characters and last 3 characters from String PHP
- Replace tabs and spaces with a single space as well as carriage returns and newlines with a single newline
- Using MySQL’s TIMESTAMP vs storing timestamps directly
- move all files in a folder to another?
- What is the difference between null and empty?
- Upload Images On Twitter Using PHP
- PHP replaces spaces with underscores
- How to cause a redirect to occur before php script finishes?
- Which is the best way to generate excel output in PHP? [closed]