arrays in queries

wxdqz

New Member
I want to use an array inside of my query like this:

mysql_query ("INSERT INTO player VALUES ( '','Y', '$player_array[1][1]')");

But When I run this I get only Array[1] inside of my table, not the actual player name... If I use echo $player_array[1][1] I do get the right value... What am I missing here?

Thanks
 
Back
Top