Member Avatar for stephen_UK

If I am loading a page called 'view6.php' with this url: /view6.php?id=24

What code do I need to get the id value 24 passed in the url string into the variable $im_id?

I have searched and searched for this info without success.

Many thanks in advance

Stephen

$im_id = $_GET['id'];
Member Avatar for stephen_UK

Many thanks kkeith29, I assumed it would be something as simple as that, but I just couldn't find it searching.

Cheers

Stephen

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.