I have a script that uses 'mysqli' to connect to a database, trouble is the shared server it is hosted on uses 'mysql' and so is producing unexpected results. Before pasting the php code into this thread, I was wondering whether there were any simply ways round this or scripts available that could sort this out for me or whether I have to go through the code changeing something and if so what?

Or is it easier to look into moving to a dedicated server.