Hi All, Im trying to upload a so called 'million dollar script' to my webspace but i keep getting the following error messages:
Parse error: parse error, unexpected ')', expecting T_VARIABLE or '$' in e:\domains\d\datebypixel.net\user\htdocs\header.php on line 14
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in e:\domains\d\datebypixel.net\user\htdocs\index.php on line 61
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in e:\domains\d\datebypixel.net\user\htdocs\index.php on line 63
Can't connect to MySQL server on 'sql2k232' (10061)
Can anyone help and tell me how to put this right?!?!
Please??!!
I can't tell you exactly what is wrong with the first error... but you likely have a missing semicolon, }, or parenthese (sp?!).
If you could link to your page it might help, but we'd need to see the php source to really check. Post here between [php] and [/ php] code blocks.
The other two errors... have you connected successfully with a database? Your syntax is likely off within the () for each function.
Again, please post your code.
Are you by any chance the guy who developed the 'Million Dollar Web Page'?