Jump to content

select id in mysql


ramram

Recommended Posts

Only one field or only one record? A field would be "firstname", a record would be all fields for a single "row" in the database - in other words, id, firstname & lastname for one person.

You can get a single record like this (assuming the ID field is uniqe):

SELECT * FROM [i]tablename[/i] WHERE id  = '[i]idnumber[/i]'
Link to comment
https://forums.phpfreaks.com/topic/26963-select-id-in-mysql/#findComment-123292
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.