in reply to Cannot run a simple script?help im new

First off, you should check the logs. Apache's error_log and mysql's (hostname).err and (hostname).query.log are very helpful. I bet if you turned on the query log and watched it, you'd see that the script isn't connecting at all.

Regarding the script, I don't see a dsn specifying the host or port, and I don't see a database handle specifying a username or password.

Hope this helps.

  • Comment on Re: Cannot run a simple script?help im new