zachatk1 Posted May 22, 2011 Share Posted May 22, 2011 Is there a way to check if a value needs to be imploded and if it does, it implodes the variable? And vice versa with explode? How would this be done? Thanks! Quote Link to comment Share on other sites More sharing options...
mgoodman Posted May 22, 2011 Share Posted May 22, 2011 Look over these two functions, I think they will help you out. is_array is_string If the variable is an array (is_array), then you can implode it. If it is not an array (is_string) then you can explode it. 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.