Have problem changing a value in an array

Posted by aliov on Stack Overflow See other posts from Stack Overflow or by aliov
Published on 2010-05-24T19:51:33Z Indexed on 2010/05/24 20:01 UTC
Read the original article Hit count: 216

Filed under:
|

I have a multi-dimensional array with 4 entries in each value - (1st name, last name, email, password). I am trying to format the password value so I can insert it into a database. As you can see, my results are not what I need. Why is this the result and what should I do to get my intended result? Thanks

php > $newlines[1][3] = "PASSWORD($newlines[1][3)]";  
php > echo $newlines[1][3];  
PASSWORD(Array[3)]

© Stack Overflow or respective owner

Related posts about php

Related posts about array