Re: [PHP-DB] Google Style Search Results

2005-12-09 Thread Julien Bonastre
PROTECTED] To: Julien Bonastre [EMAIL PROTECTED] Sent: Friday, December 09, 2005 12:42 AM Subject: Re: [PHP-DB] Google Style Search Results Great site, Julien! Probably more involved than we need for our project, but very, very impressive. I really like the CSS styling in particular. If you

Re: [PHP-DB] Google Style Search Results

2005-12-09 Thread Graham Cossey
On 12/9/05, Julien Bonastre [EMAIL PROTECTED] wrote: snip http://aries.the-spectrum.org/webdev/wawd/forums/search.php?q=sufficient%2Blargest=postsb%5B%5D=*maxres=25ob=datetimeot=DESC snip All I did was conjure up a regular expression that basically just matches words :-) haha ironically..

Re: [PHP-DB] Google Style Search Results

2005-12-09 Thread Julien Bonastre
[EMAIL PROTECTED] www.the-spectrum.org --oOo---oOo-- - Original Message - From: Graham Cossey [EMAIL PROTECTED] To: Julien Bonastre [EMAIL PROTECTED]; php-db@lists.php.net Sent: Friday, December 09, 2005 7:10 PM Subject: Re: [PHP-DB] Google Style Search Results On 12/9

Re: [PHP-DB] Google Style Search Results

2005-12-09 Thread Graham Cossey
On 12/9/05, Julien Bonastre [EMAIL PROTECTED] wrote: Yay, Questionnaire time I love this part of the game a) I'm not very familiar with regex at all and was wondering if you could tell me how your regex would handle two matched search strings that exist within a few words of each other in

Re: [PHP-DB] Google Style Search Results

2005-12-09 Thread Julien Bonastre
@lists.php.net Sent: Saturday, December 10, 2005 12:42 AM Subject: Re: [PHP-DB] Google Style Search Results On 12/9/05, Julien Bonastre [EMAIL PROTECTED] wrote: Yay, Questionnaire time I love this part of the game a) I'm not very familiar with regex at all and was wondering if you could tell me

Fw: [PHP-DB] Google Style Search Results

2005-12-09 Thread Julien Bonastre
- Original Message - From: Ming Xiao To: Julien Bonastre Sent: Friday, December 09, 2005 7:04 PM Subject: Re: [PHP-DB] Google Style Search Results hello everybody who knows ajax , I want to make a website use ajax technolgy. thanks,everybody! 2005/12/9, Julien Bonastre [EMAIL

Re: [PHP-DB] Google Style Search Results

2005-12-07 Thread Joseph Crawford
why not use substr? $preview = substr($string, 0, 50) .'...'; it will probably cut off in the middle of a word, but you can use strpos and check to see if the char is a space to get to the point you want. -- Joseph Crawford Jr. Zend Certified Engineer Codebowl Solutions, Inc. 1-802-671-2021

Re: [PHP-DB] Google Style Search Results

2005-12-07 Thread dpgirago
: | | Re: [PHP-DB] Google Style Search Results

Re: [PHP-DB] Google Style Search Results

2005-12-07 Thread Philip Hallstrom
why not use substr? $preview = substr($string, 0, 50) .'...'; it will probably cut off in the middle of a word, but you can use strpos and check to see if the char is a space to get to the point you want. It's possible that the keywords wouldn't be in the first X numbers of characters.