php get url in variable code example Example: getting values from url php $id = $_GET['id']; // OR $id = $_REQUEST['id'];