The above is a piece of code that was given. Now the OP of that post used while($sth->fetch) on a binded column. Most of the samples I've seen/used have been this way.SELECT * FROM images WHERE id > ? LIMIT 1
How would you pull back just one chunk of data? Instead of looping like they do it?
In reply to Single mysql query by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |