I'm having issues connecting to an sql server and was wondering if anybody knew anything about it.
I was told to connect to the server on a certain port, so here is what I did in php:
Now, for some reason, when I run this code, nothing gets outputted, the page just sits there for about 30 seconds, and then just says "Done" at the bottom. I'm guessing that it is timing out or something, and that for some reason if the mysql_connect command times out, my whole script just stops running.PHP Code:
I think the problem could be arising from the fact that I'm using mysql to connect to a SQL2000 database, but I don't know enough about the two and have never connected to databases that weren't on my website before.
Any help would be appreciated, thanks.