Fatal error after PHP version upgrade

JRT_666

New Member
I just upgraded my PHP version after reinstalling the server. A code which worked previously doesn't work anymore. It tells me about a fatal error.\[code\]Fatal error: in J:\web\intranet\dologin.php on line 40\[/code\]I checked the lines near that (39-41 are included below) and I can't see anything which could be wrong.\[code\]$query = $connection->prepare("SELECT COUNT(*) FROM users WHERE user = ? AND password = ?");$query->execute(array($user, $password));$result = $query->fetch();\[/code\]I'm running PHP 5.4.9 on Windows Server 2012. In php.ini I've set error reporting to show all the errors and I have also enabled PDO extension.What's wrong?
 
Back
Top