开发者

PHP search in one table only

开发者 https://www.devze.com 2023-01-16 07:54 出处:网络
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 ? ThanksAre you looking for something

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

精彩评论

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

关注公众号