how to get id from URL using php

In your detail.php use: $id = $_GET['id']; you can then use $id around the rest of your page.

Leave a Comment