I know im a bit late here and this topic is probably ancient now, but i have a very relevant issue. The crashes are exactly what i am experiencing. Ive got the newest php,mysql,apache versions, even reinstalled them all but this query works
PHP Code:
$sql = "SELECT USERNAME FROM USERS WHERE USERNAME='aimbot'";
$stmt = $db1->query($sql);
$obj = $stmt->fetch(PDO::FETCH_OBJ);
however this doesnt
PHP Code:
$sql = "SELECT USERNAME, NAME FROM USERS WHERE USERNAME='aimbot'";
$stmt = $db1->query($sql);
$obj = $stmt->fetch(PDO::FETCH_OBJ);
BUT this works
PHP Code:
$sql = "SELECT NAME FROM USERS WHERE USERNAME='aimbot'";
$stmt = $db1->query($sql);
$obj = $stmt->fetch(PDO::FETCH_OBJ);
ive got no idea. Maybe we are both doing something wrong. Thanks. Im on a fresh windows install.
Bookmarks