Forum Moderators: coopster
$array['name']='your name' $array['pass']='your pass'
Now I want to put these values into a new array...
$newarray[0]='your name' $newarray[1]='your pass'
Something that works like the file() function.
Thanks, Jacob
$one = array("info","info2","info3");$two = $one;
I'm not sure I quite understand your question. It seems like you have it...
Maybe the Array Documentation [us2.php.net] will help you solve your problem.
Good luck!
You can do this with the function
array_values()
$array['name'] = 'Your name';$array['pass'] = 'Your pass';$new_array = array_values($array);
$new_array = array_values($array);
Hope this helps :)
Psychopsia: That works. Thank you!