I'm trying to split a string into an Array by a , but I kepe getting
errors.  Looking at the PHP manual, I thought it would be this way:

$keywords = preg_split(",", $email);

if you just want to split a "a,b" to array("a","b") you can use explode wich would wourd as you wrote above.

$keywords = explode(",", $email);

Best regards,

Karsten Eichentopf

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to