“No database selected” error even after a db is selected
I have selected the database but for some weird reason it still says that it is not selected.
And the error is a plain
I have never seen this error before and i tried to change a lot of things but its just not working.
You forgot to pass the variable $link as the link parameter.
EDIT: Try passing the database in the FROM parameter like