开发者

PHP search in one table only

I have one member table i开发者_Python百科n mysql database, all i need is search a member in that table by first name. Is there a quick and dirty solution in this ? Thanks


Are you looking for something like this ?

mysql_query("SELECT * FROM Members WHERE firstName  ='".mysql_real_escape_string($firstName)."'");

edited the solution from Serty was of course the best

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜