Re: [PHP] stripping first comma off and everything after

2010-06-19 Thread Al
On 6/19/2010 3:08 AM, Adam Richardson wrote: $before_needle = true Requires 5.3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stripping first comma off and everything after

2010-06-19 Thread Daniel P. Brown
On Sat, Jun 19, 2010 at 05:09, Ashley Sheridan wrote: > > A substring() a strpos() should do the trick: Echo echo [sprintf()] -- URGENT: EXTENDED TO SATURDAY, 19 JUNE: $100 OFF YOUR FIRST MONTH, FREE CPANEL FOR LIFE ON ANY NEW DEDICATED SERVER. NO LIMIT! daniel.br...@par

Re: [PHP] stripping first comma off and everything after

2010-06-19 Thread Ashley Sheridan
On Sat, 2010-06-19 at 10:09 +0100, Ashley Sheridan wrote: > On Fri, 2010-06-18 at 15:03 -0500, Adam wrote: > > > I'm querying data and have results such as a variable named > > $entries[$i]["dn"]: > > > > CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC

Re: [PHP] stripping first comma off and everything after

2010-06-19 Thread Ashley Sheridan
On Fri, 2010-06-18 at 15:03 -0500, Adam wrote: > I'm querying data and have results such as a variable named > $entries[$i]["dn"]: > > CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx > > > > Basically I need to strip of

Re: [PHP] stripping first comma off and everything after

2010-06-19 Thread Adam Richardson
On Sat, Jun 19, 2010 at 3:08 AM, Adam Richardson wrote: > On Fri, Jun 18, 2010 at 3:56 PM, Adam Williams < > adam_willi...@bellsouth.net> wrote: > >> I'm querying data and have results such as a variable named >> $entries[$i]["dn"]: >> >> CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU

Re: [PHP] stripping first comma off and everything after

2010-06-19 Thread Adam Richardson
On Fri, Jun 18, 2010 at 3:56 PM, Adam Williams wrote: > I'm querying data and have results such as a variable named > $entries[$i]["dn"]: > > CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx > > > Basically I need to strip off

Re: [PHP] stripping first comma off and everything after

2010-06-18 Thread Daniel P. Brown
On Fri, Jun 18, 2010 at 15:56, Adam Williams wrote: > I'm querying data and have results such as a variable named > $entries[$i]["dn"]: > > CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx > > Basically I need to strip off the

[PHP] stripping first comma off and everything after

2010-06-18 Thread Adam
I'm querying data and have results such as a variable named $entries[$i]["dn"]: CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx Basically I need to strip off the first command everything after, so that I just have it d

Re: [PHP] stripping first comma off and everything after

2010-06-18 Thread Robert Cummings
Adam Williams wrote: I'm querying data and have results such as a variable named $entries[$i]["dn"]: CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx Basically I need to strip off the first command everything after, so

[PHP] stripping first comma off and everything after

2010-06-18 Thread Adam Williams
I'm querying data and have results such as a variable named $entries[$i]["dn"]: CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx Basically I need to strip off the first command everything after, so that I just have it d