php-general Digest 19 Jun 2010 09:10:16 -0000 Issue 6806

2010-06-19 Thread php-general-digest-help
php-general Digest 19 Jun 2010 09:10:16 - Issue 6806 Topics (messages 306246 through 306269): Re: stripping first comma off and everything after 306246 by: Robert Cummings 306247 by: Adam 306248 by: João Cândido de Souza Neto 306249 by: Daniel P. Brown

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

[PHP] What am I missing here?

2010-06-19 Thread Rick Dwyer
Hello List. I am completely at a loss for why the line of code below returns the desired value: $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI PT_NAME']), strlen($_SERVER['REQUEST_URI'])); BUT, putting the same line of code on 1 line fails to return anything: $PATH_INFO=

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