PS. You should consider using mysql_fetch_row() or at least
mysql_fetch_array() for perforance reasons.
Bogdan Stancescu wrote:
> Notice the zig-zag - $query is first on the left side, then on the
> right side, then $result is first on the left side, then on the right
> Ryan Snow wrote:
>> Hi, Im kinda new to this list. Can anyone tell me what is the proper
>> way to interpolate my php variables into my mysql queries?
>> I've been trying $query = "SELECT password FROM users WHERE
>> $pd = mysql_result($result);
>> but I get a message that says: "Supplied Argument is not a valid
>> MySQL-Link resource"
>> any ideas, anyone?
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php