This is an interesting problem. I am getting results from a database and placing them into an array.
this is the array $uu_id = (4,56,7)
now I want to be able use this info like this
$my_numbers "4,5,6";
is there a way to do this.
You can do this by using implode(). It converts an array to a string. If you need to turn a string into an array you can use explode. I have used them before and they work very nicely.
For more info and how to use them:
http://www.php.net/manual/en/function.implode.php
Thanks that was perfect. I thought it was going to be something really hard. I don't often work with arrays.