mysql_fetch_array(mysql_query($sql,$conn));
this part doesnt work all the time as it should.. devide it into to parts: query and then fetch_assoc (not array as it's useless, assoc is recommended.)
You are trying to run several SQL queries in one mysql_query() function. This cannot be done using PHP (for security reasons) and therefore you must split your queries and use PHP to cover for the loss of functionality.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.