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 adam_willi...@bellsouth.netwrote: 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

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 simples...@gmail.comwrote: 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]:

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 off the

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]:

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 a...@ashleysheridan.co.uk wrote: A substring() a strpos() should do the trick: Echo echo [sprintf()] -- /Daniel P. Brown URGENT: EXTENDED TO SATURDAY, 19 JUNE: $100 OFF YOUR FIRST MONTH, FREE CPANEL FOR LIFE ON ANY NEW

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-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

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 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=XX,OU=X,DC=,DC=xx,DC=xxx Basically I