+ 1
Php warning don't know what to do need help PLEAAAAAASE!!!!
WARNING:mysql_query()expects parameter 2 to be resource , object given , why and how do i fix this
3 Answers
+ 4
um oh mysql_query(your connection, your query);
lets say u have $con = mysqli_connect(bla bla bla);
u put mysqli_query($con, "DROP TABLE myTable");
and pls use mysqli, mysql is soooo deprecated
0
ok
hold i'll tell you result in like 10 mins
0
ok
it works now