Jump to content

Andrew L

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Andrew L

  1. Ah, OK, that's just me being totally ignorant of mySQL - it's the first time I've tried to do anything with it. I thought it was an error, not code. I'm using POG, and POG throws an error, saying I need to edit a script file with the database settings - as you've explained below. There are correctly entered as far as I know, so I'll try something else. Thanks, Andrew
  2. Can anyone please help? I'm trying to create a mysql database via the cpanel. I've create a new database and user, and linked them together. I get the following error message under Connection Strings, for PHP. $dbh=mysql_connect ("localhost", "iwzwsdsc_andrew", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("iwzwsdsc_testdb"); I need the PHP connection string to work... Thanks, Andrew
×
×
  • Create New...