Reply to Re: php/mysql search

Your name:

Reply:


Posted by Manchild on 09/03/05 06:31

atlantic wrote:
> I'm trying to build a form where the user searches for a name, and then all
> of the names that match are listed. I'd like both of these to appear on the
> same page.
>
> e.g. -
> +-----------------+
> Name: | Jimm | <Go>
> +-----------------+
>
> Would produce:
>
> Jimmy Johnson
> Jimmie Smith
> Jimmbo White
>
> Thanks for any input...
>
>

You need to learn your wildcards :D

http://www.tizag.com/mysqlTutorial/mysqlwhere.php

select name from yourtableofnames where name like 'Jimm%'

James

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация