The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Funny though, I read a thread where someone was having the same prob...
They finished by saying- Ahh Ha! I've got it - I took out the the '!' and now it has located my db... I got all excited when that worked for me too...

But then I realised that the '!' is the negation operator...

Perhaps my problem is more fundamental...
I've been conentrating about as hard as I can as I work through Kevin Yanks book - but when you're new to all of this, understanding the relationships between php scripts, mysql servers, sql's, phpmyadmin, winmysqladmin, telnet, ssh, command prompts etc... well... it can be hard to grasp.

As I mentioned in my initial post, I've been modifying my database with phpmyadmin - and I've connected to the mysql server with the php script above.
Is there something else I'm supposed to have running in the background, that you may have assumed I knew to do...?? Anything that may seem obvious to you, could very well not be to me