I've been at this for more than an hour now, I can connect to my database and all (doesn't give any errors) but i get the following error when i try to use "mysql_query($query);"
Call to undefined function mysql_query()
I've already tried enabling:
extension=php_mysql.dll
extension=php_mysqli.dll
and I've added:
extension_dir = "ext"
extension=php_mysql.dll
at the end of the import list.
Between every change I made I restarted all processes in exampp and after every single solution that I seperately tried it still gives this annoying error.
I've tried looking online, but the only error similar to mine would be:
Call to undefined function mysql_connect()
which at no point I've have had any issue with, never seen it.
I'm asking it here because I am being spammed on the google search results with the problem above; Not the one I am having.
I would be greatful if someone could help me with this, the tutorials I've found online show the exact same code that I have written.