Post: PHP - Selecting ID in the Table
04-20-2013, 10:55 PM #1
RB94
Haxor!
(adsbygoogle = window.adsbygoogle || []).push({}); Hi,

I have recently found this problem while working on a PHP project that i have setup a table in MyAdmin, and i want to get the second entry out of the database by selecting the ID.

I Know it will involve Select*From Table1 WHERE ?????

I have tried numerous ways but i can't get it to to work.

CAN ANYONE HELP PLEASE ????

Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
04-21-2013, 11:56 AM #2
Chrom3D
Big Sister
Originally posted by RB94 View Post
Hi,

I have recently found this problem while working on a PHP project that i have setup a table in MyAdmin, and i want to get the second entry out of the database by selecting the ID.

I Know it will involve Select*From Table1 WHERE ?????

I have tried numerous ways but i can't get it to to work.

CAN ANYONE HELP PLEASE ????


Thanks



SELECT * FROM table1 ORDER BY id DESC LIMIT 1, 1

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo