I have used the following code
<?php
$connection = mysql_connect("localhost","james","james");
mysql_select_db("winestore", $connection);
?>
the $connection returns true when I ask, but the second line i think is broken I receive the following error message
Warning: Unexpected character in input: '' (ASCII=31) state=1
any ideas ??