I have string $str=”sttr1,str2″ I want to convert the string into array.
Use php explode function to do this.
$str="str1,str2"; $array=explode(',',$str); $array[0] will hold str1 and $array[1] will hold str2.
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in