Pee Aitch Pee
- Joined
- Mar 30, 2011
- Messages
- 630
- Reaction score
- 422
I got some trouble when i go to accountsCode:Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near the keyword 'FROM'. (severity 15) in C:\xampp\htdocs\inc\templates\template_account.php on line 14 Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\inc\templates\template_account.php on line 14 Warning: mssql_result() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\templates\template_account.php on line 15
That's this line:
PHP:
$coins = mssql_query("SELECT ".$_CONFIG['coinscolumn']." FROM ".$_CONFIG['coinstable']." WHERE AID = '".$aid."'");
Check if $_CONFIG['coinscolumn'] and $_CONFIG['coinstable'] are an existing table and column in inc/settings.php.