TeddyKiller Posted May 12, 2010 Share Posted May 12, 2010 I have a query, and it has stuff like $variable[var][1] This comes up as Array[1] when I echo out the query. The query is as follows. $hiscores = $db->query("UPDATE `clan_members` SET `attack` = '$lol[att][1]', `strength` = '$lol[str][1]' WHERE `username` = '$username'") or die(mysql_error()); How can I fix it? Link to comment https://forums.phpfreaks.com/topic/201441-query-comes-up-with-array1/ Share on other sites More sharing options...
kenrbnsn Posted May 12, 2010 Share Posted May 12, 2010 Please post more of you code. Ken Link to comment https://forums.phpfreaks.com/topic/201441-query-comes-up-with-array1/#findComment-1056885 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.