Hello i got a big trouble which i couldnt solve, this is a very weird problem :S i use the next code:
for( $m = 0; $m < sizeof( $jugadores ) ; $m++ )
{
$juga_q = "INSERT INTO jugadores VALUES($jugadores[$m][1],$nom_equipo,'',$jugadores[$m][4]);";
$result = mysql_query( $juga_q );
echo $juga_q."<br>";
}
i got information in the array which i want to insert into my data base, for that i dump my query in $juga_q variable which i use in the insert into, but the query doesnt execute and i make an echo to check whats failing and got the next:
INSERT INTO jugadores VALUES(Array[1],Aston Villa,'',Array[4]);
when i make a echo of the array out of this query i got no problems, thats why im getting crazy with that and hope u could help me.
Thanks forward!!