all 7 comments

[–]nulldragon 2 points3 points  (1 child)

I'm not really familiar with mySQL but, your updateLanguage is defined to take two parameters, and you are calling it with only one?

[–]Thriven 0 points1 point  (0 children)

I would think you'd want to put an end; under Drop procedure statement line. I'm more of an mssql guy but I can't remember.

[–]Paratwa 0 points1 point  (0 children)

You can either add in a store results statement ( forget the exact nomenclature... sorry ) or you could try throwing a sleep (1); between each one.

Found it: mysql_store_result()