Re: [PHP] syntax error, unexpected T_STRING

2005-07-18 Thread Matthew Weier O'Phinney
* George B [EMAIL PROTECTED] : Jim Moseby wrote: I am trying to connect to a datbase: mysql_select_db ('database') or die (couldnt connect to databse) What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12

RE: [PHP] syntax error, unexpected T_STRING

2005-07-18 Thread Jim Moseby
Thanks JM! It was another one of my usual mistakes :P Forgot the semicolon. I don't underestand why you have to put in so many semicolons... Hmm.. Is it a thing from C or something? When I see that T_STRING error, missing semicolon is the first thing I look for. I don't know the history

[PHP] syntax error, unexpected T_STRING

2005-07-18 Thread George B
I am trying to connect to a datbase: mysql_select_db ('database') or die (couldnt connect to databse) What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] syntax error, unexpected T_STRING

2005-07-18 Thread Jim Moseby
I am trying to connect to a datbase: mysql_select_db ('database') or die (couldnt connect to databse) What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] syntax error, unexpected T_STRING

2005-07-18 Thread John Nichel
George B wrote: I am trying to connect to a datbase: mysql_select_db ('database') or die (couldnt connect to databse) What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 Are either one of those lines, line 12? -- John C.

Re: [PHP] syntax error, unexpected T_STRING

2005-07-18 Thread George B
Jim Moseby wrote: I am trying to connect to a datbase: mysql_select_db ('database') or die (couldnt connect to databse) What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 -- PHP General Mailing List (http://www.php.net/) To