Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all articles
Browse latest Browse all 14690

From Database To Array()

$
0
0
Is there a way to get info from database and array them like:
PHP Code:

array( $array['options'] ); 

At the minute i have this:
PHP Code:

array( "username" => $username"password" => $password ); 

The data i'm getting from the row column:
PHP Code:

"username" => $username,
"password" => $password 

Will this work?
I can't test until i upload this to my domain and test it seen as it's an email template upon register and forgot and other email functions that will be needed.

If this won't work, is there any other way i can make it work.

It will get $username & $password from the PHP page already.

Thanks,
Clawed

Viewing all articles
Browse latest Browse all 14690

Trending Articles