You are here: Re: newbie wanting advice on search form « PHP Programming Language « IT news, forums, messages
Re: newbie wanting advice on search form

Posted by Geoff Berrow on 09/26/05 22:01

I noticed that Message-ID:
<1127758071.691493.182600@f14g2000cwb.googlegroups.com> from wgerry
contained the following:

>$query = "SELECT * FROM arrow WHERE surname LIKE %'$trimmed %.'" ;

Spot the difference.

$query="SELECT * FROM arrow WHERE surname LIKE '%$trimmed%'";

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this 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

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