KickRocksBish Posted November 7, 2010 Share Posted November 7, 2010 ok I need to know how to do this say I have variables.. like so $a[] = 12345; $a[] = 23456; $a[] = 35424; what do I have to do to get those variables to combine the value? and make that a variable? so it would be like $aCompiled = 12345,23456,35424, puts them in a string then I can use the variable later on in the script.. Quote Link to comment Share on other sites More sharing options...
Vitamin Posted November 7, 2010 Share Posted November 7, 2010 $string = implode(',' , $a) Quote Link to comment Share on other sites More sharing options...
KickRocksBish Posted November 7, 2010 Author Share Posted November 7, 2010 thanks 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.