Single field database query

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Single field database query

Post by egami » Fri Aug 26, 2011 4:09 am

$query = "SELECT fieldname FROM table WHERE fieldname = 'value' LIMIT 1";

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests