Re: 2nd Pair of eyes
| From: | Donovan Brooke | Date: | Tue, 18 Jan 2011 18:32:18 +0000 |
| Subject: | Re: 2nd Pair of eyes | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310844@lists.php.net to get a copy of this message | ||
Simon J Welsh wrote:
[snip]
Excellent Simon, that did it. Thanks! Donovan -- D Brooke---Start---Array indices either need to be accessed without quotes for the key, or by enclosing the variable in curly braces. --- Simon Welsh Admin of http://simon.geek.nz/$query = "SELECT u_id FROM cms_users WHERE u_name = $_post['f_user'] AND u_pass = $_post['f_pass']";