MySQL Forums
Forum List  »  PHP

Re: how to use PHP variable in MYSQL query?
Posted by: Peter Brawley
Date: March 17, 2007 10:20AM

$query = 'SELECT * FROM users WHERE username = "$username"';

Options: ReplyQuote


Subject
Written By
Posted
Re: how to use PHP variable in MYSQL query?
March 17, 2007 10:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.