I had the code written the way you suggested, but changed it to the way the hosting company suggested. I am unclear. I have php 5.2.8.8 on my local machine, I also have MySQL 5.1.30 set up locally as well. I am using godaddy.com as a host. I assumed that the php was running on the host server and the local php that I have/use is only for the testing server. Does this sound correct to you? Again, many thanks. "Per Jessen" <per@xxxxxxxxxxxx> wrote in message news:gpgruj$hcp$3@xxxxxxxxxxxxxxxxxxx Gary wrote: > Ok, I know how to access the php.ini for the local host, is this the > same file that would control the remote server? Or do I need to look > for it on my remote host? The php.ini you need to look at is the one one the server where you're running your PHP code. The remote host is just your database server I assume? Your code does look a little odd though: $dbc = mysqli_connect('$hostname','$username','$password') or die('Error connecting to MySQL server'); mysql_select_db('$usertable'); I would have written this as: $dbc = mysqli_connect($hostname,$username,$password,$usertable) or die('Error connecting to MySQL server'); /Per -- Per Jessen, Zürich (10.7°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php