Hello!
I would like to fetch the numbers at the end of this URL;
http://example.com/profile.php?user=15

Do anyone know how i can get that by PHP?

Recommended Answers

All 2 Replies

$_GET['user']

haha, i cant belive i didnt think of that...done it many times... sorry im pretty confused today!
thanks for the reminder!
Cheers.

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.