# "?id=" MySQL id query

**URL:** <https://forum.kirupa.com/t/id-mysql-id-query/90023>\
**Category:** programming\
**Created:** [May 13, 2005, 3:44pm UTC](https://forum.kirupa.com/t/id-mysql-id-query/90023 "2005-05-13T15:44:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveMania](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@DaveMania](https://forum.kirupa.com/u/DaveMania)\
**Post date:** [May 13, 2005, 3:44pm UTC](https://forum.kirupa.com/t/id-mysql-id-query/90023/1 "2005-05-13T15:44:22Z")

</div>

Basically, I’ve looked around but I can’t find how to create a query that selects from the table where id is the number int he query string of the address e.g. “index.php?id=503” displays the row with the id “503”.

Thanks
