Hi Fou-Lu ...
Many thanks for your advise.
I didn't realise how easy it was.
I have tried in the past, but I think that I didn't put $link first, so it didn't work.
I made the same mistake this time, but went back to your post a read it more closely.
I have now changed my current project to mysqli.
I will now change all my other database projects.
The MAN, The MYTH, The LEGEND:
Support your local Country Music Club