Re: RE: [PHP-WIN] Re: PHP Search DB Table

2010-12-14 Thread Sascha Meyer
Hi Oliver, Oliver wrote: > > Okay, thank you all again for your input, I have tried a number of > suggestions to work out what is happening. Just to reiterate here is the > search > form which is on a different page. > ... Try the following code on your search page to display GET- and POST-vari

RE: [PHP-WIN] Re: PHP Search DB Table

2010-12-14 Thread Oliver Kennedy
r help, this is the first time I have used this method to obtain help and I have been very impressed with both the speed and quality of the repsonse. Kind Regards Oliver > From: aristotlek...@hotmail.co.uk > To: harlequ...@gmx.de; php-windows@lists.php.net; php...@lists.php.net; > robl.

RE: [PHP-WIN] Re: PHP Search DB Table

2010-12-14 Thread Oliver Kennedy
David, Sascha thank you both for your help. Using the query $query = "SELECT * FROM clients WHERE clientid = '$term'"; echo $query . ''; $result = mysql_query($query); as suggested printed out the below SELECT * FROM clients WHERE clientid = '' This seems to indicate that it is not seeing

Re: [PHP-WIN] Re: PHP Search DB Table

2010-12-14 Thread Sascha Meyer
David wrote: > > Oliver Kennedy wrote: > > ... > > I have a very simple database consisting of 1 table, I want users here > to > > be able to use a search function to query the database in order to > return > > the information on a client by a specific ID number if it is in the > > database. > > .

RE: [PHP-WIN] Re: PHP Search

2003-01-17 Thread Chris Kranz
You could also take lumps of HTML. Read it all into one string, the break it out into the tags. So everything inside is brought out. If there's a colour change in there, that can be brought out too. Use simple reg exp's to pull out everything between tags. You could then categorise it in an a

Re: [PHP-WIN] Re: PHP Search

2003-01-17 Thread Dash McElroy
Radovan, Searching for words that are not the same color as the background could be interesting depending on a lot of things. 1. Does the page use CSS? 2. Are background/font colors defined as "red" or "#FF"? 3. Where are background colors defined? (i.e. or or or ...) (you already answered