On Mon, Mar 19, 2001 at 10:06:52PM -0800, Toke Herkild wrote:
> I've written this login rutine
>
> But that doesn't work... I've tried to use mysql_num_rows too but I still
> get :
> Warning: Supplied argument is not a valid MySQL result resource in
> g://web/herkild/html/loginout.php on line 11
check where you are getting "$mysql_link" that is the problem I usually associate with
the error you report.
if $mysql_link is undefined, MySQL can't perform the query.
Terry
On Tuesday, March 20, 2001, at 12:06 AM, Toke Herkild wrote:
>
> $mysql_result = mysql_query($query, $mysql_l
I've written this login rutine
But that doesn't work... I've tried to use mysql_num_rows too but I still
get :
Warning: Supplied argument is not a valid MySQL result resource in
g://web/herkild/html/loginout.php on line 113
if ($ACTION == 'Login') {
$query = "SELECT user.ID FROM user WHER