jaymc Posted September 6, 2007 Share Posted September 6, 2007 I have this array forumulated via a MYSQL query Dance2,Number13,Bevvie0,Kiss1 I need a way for php to split the word and the number, so basically put this into an array Dance2 = Dance, 2 Any way to do it easily? Quote Link to comment Share on other sites More sharing options...
Jessica Posted September 6, 2007 Share Posted September 6, 2007 Check out substr and strpos. Quote Link to comment Share on other sites More sharing options...
jaymc Posted September 6, 2007 Author Share Posted September 6, 2007 Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.