Jason thanks,
The server is running php is 5.3.2 with mysql version 5.1.69 does this make a difference to your reply?
If I may also ask, in transitioning from mysql to mysqli does the whole website have to be one or the other, i.e could one page be mysql and another mysqli?
Thnaks