[PHP] search array

2013-04-11 Thread Russell Brackett
I need help with this code to echo all items in the general database and not just the fields I'm searching for. ?php // filter function function cleanInput($input) { $search = array('OEM Name, Category, OEM Name'); $output = str_replace($search, '',

Re: [PHP] search array

2013-04-11 Thread tamouse mailing lists
On Thu, Apr 11, 2013 at 1:37 PM, Russell Brackett rbrack...@capitolabs.com wrote: I need help with this code to echo all items in the general database and not just the fields I'm searching for. ?php // filter function function cleanInput($input) { $search = array('OEM

Re: Re: [PHP] Search for string followed by whitespace

2011-09-23 Thread Daniel Brown
On Fri, Sep 23, 2011 at 13:21, Tim Streater t...@clothears.org.uk wrote: Dan, Thanks for the suggestion but I need to know where the string occurs as I want to then do some excision/incision. Consider preg_replace() with that same pattern. Or, at the most involved,

Re: [PHP] Search for string followed by whitespace

2011-09-19 Thread Daniel Brown
On Sun, Sep 18, 2011 at 15:12, Tim Streater t...@clothears.org.uk wrote: At the moment, I'm doing this:   $start = stripos ($body, a , $loc); You'll note the space after the 'a'. But I really need to search in $body for 'a' followed by any whitespace char, at least one, starting at the

[PHP] Search for string followed by whitespace

2011-09-18 Thread Tim Streater
At the moment, I'm doing this: $start = stripos ($body, a , $loc); You'll note the space after the 'a'. But I really need to search in $body for 'a' followed by any whitespace char, at least one, starting at the $loc'th character, and returning the location of the string in $start. I had a

RE: [PHP] search is not case insensitive

2010-11-02 Thread tedd
At 10:23 PM -0700 11/1/10, Tommy Pham wrote: -Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Sunday, October 31, 2010 9:00 AM To: g...@holisticgp.com.au; php-general@lists.php.net Subject: Re: [PHP] search is not case insensitive At 3:47 PM +1100 10/31/10

RE: [PHP] search is not case insensitive

2010-11-02 Thread Tommy Pham
-Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Tuesday, November 02, 2010 8:09 AM To: Tommy Pham; g...@holisticgp.com.au; php-general@lists.php.net Subject: RE: [PHP] search is not case insensitive At 10:23 PM -0700 11/1/10, Tommy Pham wrote: -Original

RE: [PHP] search is not case insensitive

2010-11-01 Thread Tommy Pham
-Original Message- From: a...@ashleysheridan.co.uk [mailto:a...@ashleysheridan.co.uk] Sent: Sunday, October 31, 2010 2:10 AM To: Dr Michael Daly; php-general@lists.php.net Subject: Re: [PHP] search is not case insensitive This isn't a php question but a mysql one. Take out

RE: [PHP] search is not case insensitive

2010-11-01 Thread Tommy Pham
-Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Sunday, October 31, 2010 9:00 AM To: g...@holisticgp.com.au; php-general@lists.php.net Subject: Re: [PHP] search is not case insensitive At 3:47 PM +1100 10/31/10, Dr Michael Daly wrote: Hi Using a php search

Re: [PHP] search is not case insensitive

2010-10-31 Thread a...@ashleysheridan.co.uk
] search is not case insensitive To: php-general@lists.php.net Hi Using a php search form produces a nil return on any information that is capitalised within a mysql database; retrieval is fine for non-capitalised data. Could someone tweak this please? The relevant code I think is as follows

Re: [PHP] search is not case insensitive

2010-10-31 Thread Dr Michael Daly
. Take out the lower() part of the sql statement, as like is case insensitive by default. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Dr Michael Daly g...@holisticgp.com.au Date: Sun, Oct 31, 2010 04:47 Subject: [PHP] search is not case insensitive To: php-general

Re: [PHP] search is not case insensitive

2010-10-31 Thread tedd
At 3:47 PM +1100 10/31/10, Dr Michael Daly wrote: Hi Using a php search form produces a nil return on any information that is capitalised within a mysql database; retrieval is fine for non-capitalised data. Could someone tweak this please? The relevant code I think is as follows: // Description

[PHP] search is not case insensitive

2010-10-30 Thread Dr Michael Daly
Hi Using a php search form produces a nil return on any information that is capitalised within a mysql database; retrieval is fine for non-capitalised data. Could someone tweak this please? The relevant code I think is as follows: // Description is a BLOB in MySQL... we need to UPPER the blob

[PHP] Search inside file :)

2010-10-11 Thread Jordan Jovanov
Hello everybody, I create one site where user can upload .zip files, but now I have one interesting problem. I need me PHP script where can have one edit box and button, user can input same text in edit box and when press on button he need to find the document who have text from edit button.

[PHP] Search Query on two tables not working

2009-07-21 Thread Miller, Terion
Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION and redirect to restaurants.php$sql = SELECT name, address, inDate, inType, notes, critical, cviolations, noncritical FROM restaurants, inspections WHERE restaurants.name '' AND

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Andrew Ballard
On Tue, Jul 21, 2009 at 12:26 PM, Miller, Teriontmil...@springfi.gannett.com wrote: Why isn't this working for searching? Check your concatenation in the query. You need some white space padding your SQL segments, otherwise the text all starts to run together. (I had to reformat it. For some

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Dan Shirah
Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION and redirect to restaurants.php$sql = SELECT name, address, inDate, inType, notes, critical, cviolations, noncritical FROM restaurants, inspections WHERE restaurants.name '' AND

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Miller, Terion
On 7/21/09 11:47 AM, Dan Shirah mrsqua...@gmail.com wrote: Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION and redirect to restaurants.php$sql = SELECT name, address, inDate, inType, notes, critical, cviolations, noncritical FROM

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Miller, Terion
On 7/21/09 12:04 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2009-07-21 at 12:59 -0400, Miller, Terion wrote: On 7/21/09 11:47 AM, Dan Shirah mrsqua...@gmail.com wrote: Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Miller, Terion
Turned off the redirects on the whole script and tried to the the query to echo and these are the errors I got: Notice: Undefined offset: 1 in /var/www/vhosts/getpublished.news-leader.com/httpdocs/ResturantInspections/processRestaurantSearch.php on line 89 Warning: mysql_fetch_array():

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Dan Shirah
On Tue, Jul 21, 2009 at 12:41 PM, Miller, Terion tmil...@springfi.gannett.com wrote: Turned off the redirects on the whole script and tried to the the query to echo and these are the errors I got: Notice: Undefined offset: 1 in /var/www/vhosts/

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Miller, Terion
Here it is...I see where it's doing the restaurant.name LIKE statement 2x which is prob messing it up right...but in the code why is it doing that twice.. SELECT name, address, inDate, inType, notes, critical, cviolations, noncritical FROM restaurants, inspections WHERE restaurants.name '' AND

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Ashley Sheridan
On Tue, 2009-07-21 at 10:07 -0700, Miller, Terion wrote: On 7/21/09 12:04 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2009-07-21 at 12:59 -0400, Miller, Terion wrote: On 7/21/09 11:47 AM, Dan Shirah mrsqua...@gmail.com wrote: Why isn't this working for searching?

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Andrew Ballard
On Tue, Jul 21, 2009 at 1:20 PM, Miller, Teriontmil...@springfi.gannett.com wrote: Here it is...I see where it's doing the restaurant.name LIKE statement 2x which is prob messing it up right...but in the code why is it doing that twice.. SELECT name, address, inDate, inType, notes,

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Ashley Sheridan
On Tue, 2009-07-21 at 12:59 -0400, Miller, Terion wrote: On 7/21/09 11:47 AM, Dan Shirah mrsqua...@gmail.com wrote: Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION and redirect to restaurants.php$sql = SELECT name, address,

Re: [PHP] Search Query on two tables not working

2009-07-21 Thread Ashley Sheridan
On Tue, 2009-07-21 at 13:24 -0400, Andrew Ballard wrote: On Tue, Jul 21, 2009 at 1:20 PM, Miller, Teriontmil...@springfi.gannett.com wrote: Here it is...I see where it's doing the restaurant.name LIKE statement 2x which is prob messing it up right...but in the code why is it doing that

Re: [PHP] Search Query on two tables not working (RESOLVED)

2009-07-21 Thread Miller, Terion
Yep, sure was the spacesOMG...will I ever get it... On 7/21/09 12:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2009-07-21 at 13:24 -0400, Andrew Ballard wrote: On Tue, Jul 21, 2009 at 1:20 PM, Miller, Teriontmil...@springfi.gannett.com wrote: Here it is...I see where

Re: [PHP] Search/Replace in entire database?

2009-06-15 Thread Caner Bulut
Hi Chris, MySQL introduced full - text indexing and searching capabilities back in version 3.23.23. The implementation is straightforward and easy to use — define a FULLTEXT index and use MATCH / AGAINST in the query. Consider this example: CREATE TABLE SOCIAL_EVENT ( EVENT_ID INTEGER

Re: [PHP] Search/Replace in entire database?

2009-06-15 Thread tedd
At 9:17 PM -0700 6/14/09, Chris Payne wrote: Hi everyone, I am in the middle of creating an editor where you can search and replace on an individual column in a single table then I came across something I need to be able to do but not sure how. Is it posible (And if so please how :-) to search

[PHP] Search/Replace in entire database?

2009-06-14 Thread Chris Payne
Hi everyone, I am in the middle of creating an editor where you can search and replace on an individual column in a single table then I came across something I need to be able to do but not sure how. Is it posible (And if so please how :-) to search an entire database and all tables within a

[PHP] Search functionality in website.

2008-12-29 Thread Tiji varghese
Hi all,I would like to set up search functionality on my website. I'm using PHP and Mysql. Most of the pages contain static text in the html and is not database driven. I need some idea on how should I go about it without moving everything to database driven functionality. Please help.Thanks in

Re: [PHP] Search functionality in website.

2008-12-29 Thread Miles Thompson
On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese tij...@yahoo.co.in wrote: Hi all,I would like to set up search functionality on my website. I'm using PHP and Mysql. Most of the pages contain static text in the html and is not database driven. I need some idea on how should I go about it

Re: [PHP] Search functionality in website.

2008-12-29 Thread John Corry
Or even a google search widget... Miles Thompson wrote: On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese tij...@yahoo.co.in wrote: ht-dig (or digg) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search functionality in website.

2008-12-29 Thread Richard Heyes
Hi all,I would like to set up search functionality on my website. I'm using PHP and Mysql. Most of the pages contain static text in the html and is not database driven. I need some idea on how should I go about it without moving everything to database driven functionality. You could look

Re: [PHP] Search functionality in website.

2008-12-29 Thread tedd
At 8:17 PM +0530 12/29/08, Tiji varghese wrote: Hi all,I would like to set up search functionality on my website. I'm using PHP and Mysql. Most of the pages contain static text in the html and is not database driven. I need some idea on how should I go about it without moving everything to

Re: [PHP] search for person by comparing his data with data in mysql

2008-12-20 Thread Jochem Maas
c...@l-i-e.com schreef: select first_name like '%$first_name%' + 3 * last_name like '%$last_name%' + 7 * email = '$email' as score, that works?? I guess the expressions (e.g. email = '$email') evaluate to bools and are auto-cast to ints. Im guess there needs to be some parenthesis in

Re: [PHP] search for person by comparing his data with data in mysql

2008-12-20 Thread Andrew Ballard
On Sat, Dec 20, 2008 at 7:01 AM, Jochem Maas joc...@iamjochem.com wrote: c...@l-i-e.com schreef: select first_name like '%$first_name%' + 3 * last_name like '%$last_name%' + 7 * email = '$email' as score, that works?? I guess the expressions (e.g. email = '$email') evaluate to bools and

[PHP] search for person by comparing his data with data in mysql

2008-12-19 Thread Afan Pasalic
hi, I have to build a little search form. a visitor enters his/her personal and work data (first name, last name, email, org. name, phones (home phone, work phone, cell) home address, work address) using a form, and then administrator has to compare these data with existing data in database

Re: [PHP] search for person by comparing his data with data in mysql

2008-12-19 Thread ceo
select first_name like '%$first_name%' + 3 * last_name like '%$last_name%' + 7 * email = '$email' as score, first_name, last_name, email, person_id from person . . . order by score desc limit 10 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Search functionality

2008-09-24 Thread Dan Shirah
Its pretty straight forward, you create a query that extracts the name and id of the records with a relevant where clause created on the fly. When outputing the data, each record gets created as a link that then loads another page/div with the total dataset for that record. The question for

Re: [PHP] Search functionality

2008-09-24 Thread Bastien Koert
On Wed, Sep 24, 2008 at 4:47 PM, Dan Shirah [EMAIL PROTECTED] wrote: Its pretty straight forward, you create a query that extracts the name and id of the records with a relevant where clause created on the fly. When outputing the data, each record gets created as a link that then loads

[PHP] Search functionality

2008-09-22 Thread Dan Shirah
Hello all, I'm looking for suggestions on how to create a search function within my application. First I'll give you an overview. At the top of my page I have a form that contains name and date fields. When a user puts in some data and selects Search a simple column of results will be displayed

Re: [PHP] Search functionality

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 4:07 PM, Dan Shirah [EMAIL PROTECTED] wrote: Hello all, I'm looking for suggestions on how to create a search function within my application. First I'll give you an overview. At the top of my page I have a form that contains name and date fields. When a user puts

Re: [PHP] Search Suggestions

2008-08-31 Thread Jochem Maas
Dan Shirah schreef: Hello, I'm hoping to get a few good ideas on the best way to perform a search of PHP results. Currently I have a page that returns a list of collapsed customer data: Example + John Smith + Jane Doe + Robert Jones + Dale Bennett If the user clicks on a customer name it

Re: [PHP] Search Suggestions

2008-08-27 Thread tedd
At 9:31 AM -0400 8/26/08, Dan Shirah wrote: Any ideas? Dan: Yes, a few of them. 1. Use LIMIT in your MySQL query to get the number of records provided down to a manageable size. 2. Use pagination to keep the page size to a manageable size. Here's an example:

[PHP] Search Suggestions

2008-08-26 Thread Dan Shirah
Hello, I'm hoping to get a few good ideas on the best way to perform a search of PHP results. Currently I have a page that returns a list of collapsed customer data: Example + John Smith + Jane Doe + Robert Jones + Dale Bennett If the user clicks on a customer name it will expand the

RE: [PHP] Search Suggestions

2008-08-26 Thread Simcha Younger
back a list of names to expand, and then have Javascript go through the whole listing to find those names. Simcha Younger -Original Message- From: Dan Shirah [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 3:31 PM To: PHP-General List Subject: [PHP] Search Suggestions Hello

[PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Hey, I was hoping to get some ideas on improving a sites search. Currently I have two - not a lot but I've been thinking about this for a few minutes. Currently the site in question uses a very basic LIKE in MySQL, eg %blah%, but naturally this finds terms such as hjkblahbjkk - which is not

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Mark Kelly wrote: Hi. On Saturday 19 July 2008, Richard Heyes wrote: Currently the site in question uses a very basic LIKE in MySQL, eg %blah%, but naturally this finds terms such as hjkblahbjkk - which is not desired. Or such matches should be ranked lower than something that matches the

Re: [PHP] Search thoughts

2008-07-19 Thread tedd
At 10:47 AM +0100 7/19/08, Richard Heyes wrote: Hey, I was hoping to get some ideas on improving a sites search. Currently I have two - not a lot but I've been thinking about this for a few minutes. That'll leave a mark. :-) Currently the site in question uses a very basic LIKE in MySQL,

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
I'm sure that would work, but just how many LIKE items do you want to show the user? For me, I would rather not show them anything if there is nothing on my site that matches their exact search criteria. Certainly an idea, but something like We also found... might be helpful in regard to

Re: [PHP] Search thoughts

2008-07-19 Thread Mark Kelly
Hi. Just noticed I replied direct rather than to the list last time, sorry about that. On Saturday 19 July 2008, Richard Heyes wrote: How much traffic do you have and what's your hardware? Are your queries cached and subsequently repeated? Do you pre cache common queries? I've done this kind

Re: [PHP] Search thoughts

2008-07-19 Thread Eric Butera
On Sat, Jul 19, 2008 at 5:47 AM, Richard Heyes [EMAIL PROTECTED] wrote: Hey, I was hoping to get some ideas on improving a sites search. Currently I have two - not a lot but I've been thinking about this for a few minutes. Currently the site in question uses a very basic LIKE in MySQL, eg

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Ever play with fulltext search? Yes, though it's not suitable in this instance. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search thoughts

2008-07-19 Thread tedd
At 1:56 PM -0400 7/19/08, Eric Butera wrote: Ever play with fulltext search? Never in public. :-) You could throw all text into your database and then do a fulltext search to give back the related pages -- that would work. I think I saw that as an example in one of the books I read. PHP

Re: [PHP] Search thoughts

2008-07-19 Thread Eric Butera
On Sat, Jul 19, 2008 at 3:40 PM, tedd [EMAIL PROTECTED] wrote: At 1:56 PM -0400 7/19/08, Eric Butera wrote: Ever play with fulltext search? Never in public. :-) You could throw all text into your database and then do a fulltext search to give back the related pages -- that would work. I

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
the entire King James Bible in a dB -- interesting read That's debateable... :-) -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Hi, I've been playing around with the zend search lucene and it is really powerful too. Worth looking into? -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search thoughts

2008-07-19 Thread Eric Butera
On Sat, Jul 19, 2008 at 4:06 PM, Richard Heyes [EMAIL PROTECTED] wrote: Hi, I've been playing around with the zend search lucene and it is really powerful too. Worth looking into? -- Richard Heyes Most definitely. But with all that power and optional stuff comes complexity too. It

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
http://framework.zend.com/manual/en/zend.search.lucene.html Nice one, thanks. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Search like php.net's URL thingy

2008-06-05 Thread Ryan S
Hey, one of the things that make the php.net site so cool is how easy it is to find info for a function or a list of topics.. eg: http://php.net/arrays http://php.net/count I'm sure nearly all of you reading this have done it more times than you would care to count, i'm trying to get something

Re: [PHP] Search like php.net's URL thingy

2008-06-05 Thread Daniel Brown
On Thu, Jun 5, 2008 at 3:07 PM, Ryan S [EMAIL PROTECTED] wrote: Hey, one of the things that make the php.net site so cool is how easy it is to find info for a function or a list of topics.. eg: http://php.net/arrays http://php.net/count [snip!] since i couldnt find the answer via

Re: [PHP] Search like php.net's URL thingy

2008-06-05 Thread Ryan S
and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Original Message From: Bernhard Kohl [EMAIL PROTECTED] To: Ryan S [EMAIL PROTECTED] Sent: Thursday, June 5, 2008 9:25:46 PM Subject: Re: [PHP] Search like php.net's URL thingy you should

[PHP] Search engines and cookies

2008-04-07 Thread Emil Edeholt
Hi, Do you guys how search engines like cookies? One site I'm working on now requires the user to select which region he/she is from on the start page. That value is stored in a cookie. So without cookies you can't get past the start page. Does this leave the search engines at the start

Re: [PHP] Search engines and cookies

2008-04-07 Thread Daniel Brown
On Mon, Apr 7, 2008 at 9:29 AM, Emil Edeholt [EMAIL PROTECTED] wrote: Hi, Do you guys how search engines like cookies? One site I'm working on now requires the user to select which region he/she is from on the start page. That value is stored in a cookie. So without cookies you can't get

Re: [PHP] Search engines and cookies

2008-04-07 Thread Evert Lammerts
Search engines won't come past that page. How about setting a default region when a user enters a different page then your main page? Daniel Brown wrote: On Mon, Apr 7, 2008 at 9:29 AM, Emil Edeholt [EMAIL PROTECTED] wrote: Hi, Do you guys how search engines like cookies? One site I'm

Re: [PHP] Search engines and cookies

2008-04-07 Thread tedd
At 3:29 PM +0200 4/7/08, Emil Edeholt wrote: Hi, Do you guys how search engines like cookies? One site I'm working on now requires the user to select which region he/she is from on the start page. That value is stored in a cookie. So without cookies you can't get past the start page. Does

[PHP] Search function not working...

2008-02-01 Thread Jason Pruim
So I said in another thread that I would be asking another question about functions... So here it goes, I am attempting to write a function to search the database, which used to work just fine when I wrote it without using a function (Would that be considered static?) Now that I am

Re: [PHP] Search function not working...

2008-02-01 Thread David Giragosian
On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: So I said in another thread that I would be asking another question about functions... So here it goes, I am attempting to write a function to search the database, which used to work just fine when I wrote it without using a function (Would that

Re: [PHP] Search function not working...

2008-02-01 Thread Jason Pruim
On Feb 1, 2008, at 2:20 PM, David Giragosian wrote: On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: [snip long explanation of problem] function search($searchvar, $table, $num_rows, $FName, $LName, $Add1, $Add2) { $qstring = SELECT * FROM .$table. WHERE FName like '% $searchvar%'

Re: [PHP] Search function not working...

2008-02-01 Thread David Giragosian
On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 1, 2008, at 2:20 PM, David Giragosian wrote: On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: [snip long explanation of problem] function search($searchvar, $table, $num_rows, $FName, $LName, $Add1, $Add2) { $qstring =

Re: [PHP] Search function not working...

2008-02-01 Thread David Giragosian
Jason, Untested, but try this... function search($searchvar, $table, $num_rows, $FName, $LName, $Add1, $Add2) { $qstring = SELECT * FROM .$table. WHERE FName like '%$searchvar%' or LName like '%$searchvar%' or Add1 like '%$searchvar%' or Add2 like

Re: [PHP] Search function not working...

2008-02-01 Thread Jim Lucas
Jason Pruim wrote: So I said in another thread that I would be asking another question about functions... So here it goes, I am attempting to write a function to search the database, which used to work just fine when I wrote it without using a function (Would that be considered static?) Now

[PHP] c++ and php! search for a brigde

2007-08-28 Thread dwa
Hello people, i have a question?? I have an application written in c++ and this throw real time data as udp-pakets all the time (interval 1 min and values in a wrapper like an own protocol are floats and longs). Is there any possibility to catch the udp packets - parse the pakets und show

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Simon
you can use sockets in php, they work the same as berkley sockets you can use system() in php, to call your C++ program (the program could output html) in my opinon CGI with C/C++ is obsolete, use php/apache for best results! another nice way is to have your C++ program independent, outputs its

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread David Giragosian
On 8/28/07, Simon [EMAIL PROTECTED] wrote: you can use sockets in php, they work the same as berkley sockets you can use system() in php, to call your C++ program (the program could output html) in my opinon CGI with C/C++ is obsolete, use php/apache for best results! another nice way is to

RE: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Gevorg Harutyunyan
++ and php! search for a brigde On 8/28/07, Simon [EMAIL PROTECTED] wrote: you can use sockets in php, they work the same as berkley sockets you can use system() in php, to call your C++ program (the program could output html) in my opinon CGI with C/C++ is obsolete, use php/apache for best results

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread shiplu
PM To: Simon Cc: php-general@lists.php.net Subject: Re: [PHP] c++ and php! search for a brigde On 8/28/07, Simon [EMAIL PROTECTED] wrote: you can use sockets in php, they work the same as berkley sockets you can use system() in php, to call your C++ program (the program could output

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Jim Lucas
dwa wrote: Hello people, i have a question?? I have an application written in c++ and this throw real time data as udp-pakets all the time (interval 1 min and values in a wrapper like an own protocol are floats and longs). Is there any possibility to catch the udp packets - parse the pakets

[PHP] Search function

2007-05-09 Thread Ryan A
Hey! .A little background: We have a site that has already been made.. a couple of hundred pages displayed via SMARTY templates, the site's in Swedish. The navigation and other parts except for the center is taken care of by the templates and other scripts... the center main text is taken

Re: [PHP] Search function

2007-05-09 Thread Richard Lynch
On Wed, May 9, 2007 7:34 am, Ryan A wrote: Now they want to add a search function to the site... a simpe textbox where a user enters a word or sentance and they get 20 results per page... with a x.xx % closest to your query can anybody give me basic pointers on where to start? Any

Re: [PHP] Search function

2007-05-09 Thread Chris
Ryan A wrote: Hey! .A little background: We have a site that has already been made.. a couple of hundred pages displayed via SMARTY templates, the site's in Swedish. The navigation and other parts except for the center is taken care of by the templates and other scripts... the center

[PHP] php search engine

2007-03-19 Thread Ross
Hi, I am looking for a php search engine that provides a suggested words (soundex?) when items are misspelt, the way google does. I have used http://www.site-search-pro.com/ i n the past which is great but as far as I know this feature is not included. Ross -- PHP General Mailing List

Re: [PHP] php search engine

2007-03-19 Thread Tijnema !
On 3/19/07, Ross [EMAIL PROTECTED] wrote: Hi, I am looking for a php search engine that provides a suggested words (soundex?) when items are misspelt, the way google does. I have used http://www.site-search-pro.com/ i n the past which is great but as far as I know this feature is not included

Re: [PHP] php search engine

2007-03-19 Thread tedd
At 4:50 PM +0100 3/19/07, Tijnema ! wrote: On 3/19/07, Ross [EMAIL PROTECTED] wrote: Hi, I am looking for a php search engine that provides a suggested words (soundex?) when items are misspelt, the way google does. I have used http://www.site-search-pro.com/ i n the past which is great

Re: [PHP] php search engine

2007-03-19 Thread Richard Lynch
On Mon, March 19, 2007 5:21 am, Ross wrote: I am looking for a php search engine that provides a suggested words (soundex?) when items are misspelt, the way google does. I have used http://www.site-search-pro.com/ i n the past which is great but as far as I know this feature is not included

Re: [PHP] Search script problem

2007-01-07 Thread Jochem Maas
Wikus Moller wrote: Hi. I am having problems with a script I wrote which searches keywords from a field in a mysql db table. It is a very simple, one-page script. My site is a toplist, very basic, still in it's infancy. When I go to the page, key in the keywords and press submit, the

Re: [PHP] Search script problem

2007-01-07 Thread Jochem Maas
please keep it on the list. Wikus Moller wrote: Let me repeat myself, SIMPLE, this was just the starting point. niether 'simple' or 'starting point' equate to 'ugly' or 'shit' though do they. even simple scripts deserve error checking and a managable layout. I wasn't pointing that out to make

Re: [PHP] Search script problem

2007-01-07 Thread Jochem Maas
top posting. what sucks? - still having trouble keeping your posts on lists? if you want to put me in my place, that's fine but please keep it on list where it belongs - if only because private flames wars are so

[PHP] Search script problem

2007-01-06 Thread Wikus Moller
Hi. I am having problems with a script I wrote which searches keywords from a field in a mysql db table. It is a very simple, one-page script. My site is a toplist, very basic, still in it's infancy. When I go to the page, key in the keywords and press submit, the head, body etc. part of the

[PHP] Search Results Accuracy

2006-12-18 Thread zoticaic
Hello, I'm just wondering, from a list of search results from a database query, how do we trim down and return the most accurate one? Hints, links and suggestions are most welcome. TIA Jervin -- Outsource Now | GetAFreelancer http://www.getafreelancer.com/affiliates/shockx/

RE: [PHP] Search Results Accuracy

2006-12-18 Thread zoticaic
To: zoticaic Subject: Re: [PHP] Search Results Accuracy Hello, Your question is not very clear, please elaborate it. btw, Are you talking about the fulltext search? -- Shafiq Rehman Sr. Web Engineer http://www.phpgurru.com http://www.phpgurru.com On 12/19/06, zoticaic [EMAIL PROTECTED] wrote

Re: [PHP] Search Results Accuracy

2006-12-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-19 09:33:02 +0800: Hello, I'm just wondering, from a list of search results from a database query, how do we trim down and return the most accurate one? Hints, links and suggestions are most welcome. is this what you're looking for?

RE: [PHP] Search Results Accuracy

2006-12-18 Thread zoticaic
/affiliates/shockx/ _ From: Shafiq Rehman [mailto: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 2:07 PM To: zoticaic Subject: Re: [PHP] Search Results Accuracy Hello, Your question is not very clear, please elaborate it. btw, Are you talking about the fulltext search? -- Shafiq

[PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Kevin
Hi, Is it possible to automatically search for synonyms related to a word in a search engine for example if I create a search engine and search for the word 'Horse', it would automatically search for other words such as 'Pony' etc? Has anyone had any experience on how this would be

Re: [PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Ed Lazor
Another idea from what I just sent: try googling synonym database. It looks like there are a few leads in there as well. On Oct 30, 2006, at 6:26 AM, Kevin wrote: Hi, Is it possible to automatically search for synonyms related to a word in a search engine for example if I create a

Re: [PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Ed Lazor
On Oct 30, 2006, at 6:26 AM, Kevin wrote: Hi, Is it possible to automatically search for synonyms related to a word in a search engine for example if I create a search engine and search for the word 'Horse', it would automatically search for other words such as 'Pony' etc? It is

Re: [PHP] PHP Search and Privacy...

2006-10-24 Thread Russell Jones
You're right - i dont know if there is even a standards body that would cover something like this. I am assuming, along with that answer, that none of the popular php site search tools have implemented it yet. Ill see if i can throw something into one of the more common scripts... Russ On

[PHP] PHP Search and Privacy...

2006-10-23 Thread Russell Jones
Does anyone know if any of the PHP Site-Search tools have implemented the new #privacy search standard (http://www.poundprivacy.org). Looking to install a new site-search and I would really like to install something that is compliant...

Re: [PHP] PHP Search and Privacy...

2006-10-23 Thread Chris
Russell Jones wrote: Does anyone know if any of the PHP Site-Search tools have implemented the new #privacy search standard (http://www.poundprivacy.org). Looking to install a new site-search and I would really like to install something that is compliant... Don't know of any off hand but that

  1   2   3   4   5   >