Untitled


SUBMITTED BY: Guest

DATE: Nov. 4, 2013, 8:53 a.m.

FORMAT: Text only

SIZE: 825 Bytes

HITS: 88472

  1. $check = "SELECT
  2. (SELECT COUNT(bloopp) FROM bloopp WHERE email='$email') AS bloopp,
  3. (SELECT first_name AS first_name, last_name AS last_name
  4. FROM user WHERE email ='$email')";
  5. $check = "SELECT (SELECT COUNT(bloopp) FROM bloopp WHERE email='$email') AS bloopp ,
  6. first_name AS first_name, last_name AS last_name FROM user WHERE email ='$email'";
  7. SELECT
  8. (SELECT COUNT(bloopp) FROM bloopp WHERE email='$email') AS bloopp,
  9. first_name AS first_name,
  10. last_name AS last_name
  11. FROM `user`
  12. WHERE email ='$email';
  13. $sql = "SELECT COUNT(bloopp) FROM bloopp WHERE email=?"
  14. //process it usual way
  15. $sql = "SELECT first_name, last_name FROM user WHERE email = ?";
  16. // process it usual way

comments powered by Disqus