[PHP] Re: newbie array question

2002-08-13 Thread S.P. Telgenhof Oude Koehorst
Hi Alexander, Have a look at the 'explode'-function (http://www.php.net/manual/en/function.explode.php). That should do the trick. Success! Sacha Telgenhof "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If I have a string variable that is a

[PHP] Re: newbie array question

2002-08-13 Thread S.P. Telgenhof Oude Koehorst
Ignore my first reply. I didn't read the question properly. Sorry. Greetz, Sacha Telgenhof "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If I have a string variable that is already of the form > ('item','item2','item3') [including the par

[PHP] Re: Formatting phone numbers

2002-06-23 Thread S.P. Telgenhof Oude Koehorst
Hi Corinne, Maybe you have a look at the sprintf function in PHP http://www.php.net/manual/nl/function.sprintf.php It returns a string produced according to a formatting string (i.e. phonenumber) format. Also have look at the other formatting functions in PHP. Bye, Sacha Telgenhof "Corinne Sh

[PHP] Help: Constants

2002-06-28 Thread S.P. Telgenhof Oude Koehorst
Hi, Maybe it's already discussed here, but PHP is generating errors of undefined constants. These constants are defined in my scripts. Als the superglobal $_ENV is empty. Can anyone tell what's wrong here? I'm using a W2K server, with Apache 1.3.26 and PHP 4.2.1 Thanks in advance, S. Telgenho

Re: [PHP] Help: Constants

2002-06-29 Thread S.P. Telgenhof Oude Koehorst
Thanks alot, I changed the reporting level. I found it myself later on. Just was a bit to quick when posting this question. Sacha Telgenhof "John Holmes" <[EMAIL PROTECTED]> wrote in message news:000d01c21f0c$de789bf0$b402a8c0@mango... > > Maybe it's already discussed here, but PHP is generatin