Jump to content

Archived

This topic is now archived and is closed to further replies.

Eugene

Array Help?

Recommended Posts

[code=php:0]
$sql->rsnclass->DBQuery("INSERT INTO some_table (username, name_of_field) VALUES('$name->_safe', '$do_stats->_name_of_array[3][0]')");
[/code]

In the database it outputs as Array[3][0], can someone help me with this problem.

Share this post


Link to post
Share on other sites
$sql->rsnclass->DBQuery("INSERT INTO some_table (username, name_of_field) VALUES('".$name->_safe."', '".$do_stats->_name_of_array[3][0]."')");


Should do the trick



Regards
Liam

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.