Re: [PHP-DB] use of str_split

2007-08-09 Thread Brad Bonkoski
atisfy the functionality the OP alluded to. -B Bastien Koert wrote: explode(delimiter, $string); is the correct function Bastien> Date: Thu, 9 Aug 2007 04:53:53 -0700> From: [EMAIL PROTECTED]> To: php-db@lists.php.net> Subject: [PHP-DB] use of str_split> > Hi> &g

RE: [PHP-DB] use of str_split

2007-08-09 Thread Bastien Koert
explode(delimiter, $string); is the correct function Bastien> Date: Thu, 9 Aug 2007 04:53:53 -0700> From: [EMAIL PROTECTED]> To: php-db@lists.php.net> Subject: [PHP-DB] use of str_split> > Hi> > when i try to use this function> > > str_split()&g

Re: [PHP-DB] use of str_split

2007-08-09 Thread Stut
Asim wrote: Hi when i try to use this function str_split() it shows me as invalid function Are you using PHP 5? That function does not exist in PHP 4. what is solution i want to split certain length of string into an array // NB: UNTESTED $string = 'This is a

Re: [PHP-DB] use of str_split

2007-08-09 Thread Brad Bonkoski
Looks like the function str_split() is a PHP 5 addition, so I guess it might be because you are using php 4? You can also do this with substr() function... Something like this: HTH -B Asim wrote: Hi when i try to use this function str_split() it shows me as invalid func

[PHP-DB] use of str_split

2007-08-09 Thread Asim
Hi when i try to use this function str_split() it shows me as invalid function what is solution i want to split certain length of string into an array bye Asim Jamil - 0092 345 4025907, Pakistan -