I have problem with query value.
This is working.

$userArray = $database->select("app", "fb_id=14175962160"); but this isn't working. WHY?

$user = $facebook->getUser(); // contains my fb id - 14175962160 $userArray = $database->select("app", "fb_id='$user'"); $userArray = $database->select("app", "fb_id=$user"); $userArray = $database->select("app", "fb_id=" . $user); Thank you for your answers.


View Solution