How do I get a specific value from a database?

Discussion in 'PHP' started by Imozeb, Mar 31, 2010.

  1. #1
    How do I get a specific value from a database?

    Say my database has these values: name = bob | billy, pass = 123, pass2, loc = CA, NY

    How would I use PHP to get the value of name where pass = 123?

    Thanks.

    ~imozeb :)
     
    Imozeb, Mar 31, 2010 IP