php - Query failing to get MySQL data, not mysql_error() displaying -
I am using phpmyadmin and my SQL database is working with my php unless I use the foreign key I do not begin to add obstacles. Then suddenly it stopped working. Now when I used to run my first query, I am coming back from the very beginning, but it still will not work (even if it is used). When I call mysql_error () does not appear anything
It seems very simple but I do not know what is going wrong. I have also removed all the tables from my database except table table.
manage_content page (which should read my table):
Work page:
& lt; Php function confirm_query ($ result_set) {if (! $ Result_set) {die ("Database queries failed:". Mysql_error ()); }}? & Gt; Please help! I'm new and I know it's incredibly simple I do not know what I'm missing!
Because when you ask if you call MysqlI_query () Function, but when you want to get the error, you do it with mysql_query () , try changing it!
Comments
Post a Comment