When I load the file, the following error is displayed:
Parse error: syntax error, unexpected T_VARIABLE in K:\UwAmp\www\Inventory\stockinwards0.php on line 9
Line 9 in the text editor is the line beginning with $result above.
This wasnt actually a problem with the SQL, but the PHP. And… really it would be -very- rare that you would need to reinstall the SQL daemon, so i’m not sure what you’re referring to (or if you’re just spam).
This error is covered under the Common PHP Problems sticky at the top of the forum, btw.