Re: [PHP-WIN] Database search, http headers

2001-03-30 Thread joerg andreas
Hi Mark, searching databases will work with SELECT ... FROM ... WHERE Criteria Like '%Crit%'; Attention please, use the ... Like '%...%' -code for search, only this has worked with my own search function. Reagrds, Joerg "Mark Collins" <[EMAIL PROTECTED]> schrieb in im Newsbeitrag: 99nu1n$9nj$[E

Re: [PHP-WIN] Database search, http headers

2001-03-27 Thread Luc Servaas
to search in a database for a field containing a string you can use % signs: select * fro table where field='%$string%' Luc ""Mark Collins"" <[EMAIL PROTECTED]> wrote in message 99nu1n$9nj$[EMAIL PROTECTED]">news:99nu1n$9nj$[EMAIL PROTECTED]... > Hi again, a couple of questions if you have the

Re: [PHP-WIN] Database search, http headers

2001-03-26 Thread Carlton Foster
Mark, I just recently had the same problem with the headers. It turned out that I had a blank space in front of the < at the beginning of the page. Once I deleted the blank space, the headers worked fine. ""Mark Collins"" <[EMAIL PROTECTED]> wrote in message 99nu1n$9nj$[EMAIL PROTECTED]">news:

[PHP-WIN] Database search, http headers

2001-03-26 Thread Mark Collins
Hi again, a couple of questions if you have the time. I am having trouble writing the code to perform a search on a database. I have written some code which will search but only get case sensitive exact match results. Are there any functions or prewritten bits that would help here? Or can anyone