Many thanks to all who replied.
All suggestions are good, but they are all the same. In fact, my lines of code were taken from a working example.
Anyway, I am embarassed to say that it now works and it only required a good old reboot of my machine!! :S
Although one thing that hint me about doing a reboot was the php.exe shell. I invoked my php page through the shell and it gave me the error messages...
User Profile
Collapse
-
Nope, nada, zilch, nothing....
I have the php.ini entries set up for error logging and nothing gets logged.
What else should I check?Leave a comment:
-
mysql_connect not doing anything at all
Hi there,
I wasn't sure where to put this question, since it deals with both PHP and MySQL. I apologize if this is not the correct forum for this.
I am working with a simple PHP application using MySQL at the data layer.
This is on a Windows XP machine, using IIS 6.0, MySQL 5.0, PHP 5.
The problem I am having is that a call to mysql_connect is not working, it is not doing anything at all....
No activity results to display
Show More
Leave a comment: