Re: [PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Rick Fletcher
Matt Babineau wrote: Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Rick Fletcher
Matt Babineau wrote: Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? I appear to have written that last snippet without really even looking at it. This one works. -- PHP General

[PHP] Sigh....regex - need to search/replace string for anything but numbers

2005-01-25 Thread Matt Babineau
Ahh so the regex gods are pissed at me. This is simple (I think), but I need to figure out how to strip out everything in a string that is not a number. Any takers? Thanks, Matt Babineau Criticalcode w: http://www.criticalcode.com p: 858.733.0160 e: [EMAIL PROTECTED]

Re: [PHP] Sigh :)

2002-12-06 Thread 1LT John W. Holmes
> OK, I think I've solved this, and you'll probably kick yourself when I explain it!" But first, a teaser: what looks like a double-quote in HTML, but isn't? Hey, if that's it, I get a free kick, too. I suggested that a while ago but there was no response. ---John Holmes... -- PHP General Ma

RE: [PHP] Sigh :)

2002-12-06 Thread Ford, Mike [LSS]
OK, I think I've solved this, and you'll probably kick yourself when I explain it!" But first, a teaser: what looks like a double-quote in HTML, but isn't? >-Original Message- >From: John Taylor-Johnston > If I run the SQL in PHPMyAdmin, (a MySQL web interface), it works. > > jdaxell.

Re: [PHP] Sigh :)

2002-12-04 Thread John Taylor-Johnston
Ray, I admit, it is a newer function in MySQL: http://www.mysql.com/doc/en/Fulltext_Search.html Since MySQL 3.23.23. All you need is a fulltext index. I am using, however, MySQL 4.0.5-beta-max-debug, but had the same problem in previous verisons. I have just never gottent his double quotes thi

Re: [PHP] Sigh :)

2002-12-04 Thread John Taylor-Johnston
; > The book "ready maria" is great > > Would return something. > > Robbert van Andel > > -Original Message- > From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 04, 2002 9:33 AM > To: [EMAIL PROTECTED] > Subject: [

RE: [PHP] Sigh :)

2002-12-04 Thread Van Andel, Robert
be found but an entry like The book "ready maria" is great Would return something. Robbert van Andel -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 9:33 AM To: [EMAIL PROTECTED] Subject: [PHP] Sigh :) Hi, C

Re: [PHP] Sigh :)

2002-12-04 Thread Ray Hunter
Which version of mysql are you using? -- Ray On Wed, 2002-12-04 at 10:33, John Taylor-Johnston wrote: > Hi, > > Can someone take a look at this again, please? > > http://news.php.net/article.php?group=php.general&article=126934 > > Your posts so far have proven fruitless. Thanks for trying. :)

[PHP] Sigh :)

2002-12-04 Thread John Taylor-Johnston
Hi, Can someone take a look at this again, please? http://news.php.net/article.php?group=php.general&article=126934 Your posts so far have proven fruitless. Thanks for trying. :) I do appreciate it. I will try to answer everyone at the same time. Someone mentionned it might be a problem with m

Re: [PHP] sigh... forms

2002-07-11 Thread Richard Lynch
>Speaking of forms, and I'm sure lots have asked this before me, but anyone >know anywhere I can go to see some examples or existing code for >automatically generating and and validating dynamic forms? > >Wait though, I'm already doing this myself. To explain further, what I >really want is an

Re: [PHP] sigh... forms

2002-07-10 Thread Chris Earle
I don't have time to actually make the function for you, but I know it could be easily done with a single function and a double for loop, which could go through an two-dimensional array of the questions (first element), answers (next group except last), and the right answer (last element). basica

RE: [PHP] sigh... forms

2002-07-09 Thread Henning Sittler
Speaking of forms, and I'm sure lots have asked this before me, but anyone know anywhere I can go to see some examples or existing code for automatically generating and and validating dynamic forms? Wait though, I'm already doing this myself. To explain further, what I really want is an abstra

Re: [PHP] *sigh* xmldom win2k php4.1.2 apache

2002-03-26 Thread Analysis & Solutions
Hi Tobias: On Tue, Mar 26, 2002 at 11:02:50AM +0100, botsai wrote: > I worked with the xmldom under php4.0.6 and everything was fine and dandy, > though since I upgraded php on my staging server which is a win2k(pro) box > to 4.1.2 there has been no way to get the libxml to work. Forgive me for

[PHP] *sigh* xmldom win2k php4.1.2 apache

2002-03-26 Thread botsai
I worked with the xmldom under php4.0.6 and everything was fine and dandy, though since I upgraded php on my staging server which is a win2k(pro) box to 4.1.2 there has been no way to get the libxml to work. I first tried 4.1.1, that wouldnt work, so I had a little bit of hope that 4.1.2 would do