$var = explode(",","120,120,122");

-----Original Message-----
From: Thomas "omega" Henning [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 11:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Breaking strings up


Hello,

I saw here somewhere a functions that breakes up a string at a nother string
like
"120,120,122" and break up at ","
and it would result
$var[0]="120";
$var[1]="120";
$var[2]="122";

Thanks for the info



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to