Hi,
i think i have nearly worked this out i have just two problems left. these are the problems
Warning: Supplied argument is not a valid MySQL result resource in C:\Inetpub\ on line 18
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\ in C:\Inetpub\ on line 31
it has something to do with the folloing code
$MyConn=mysql_connect("ROSES","admin","little"
mysql_select_db("tbllogin.db",$MyConn);
$SQL="Select UserName, Password From tblLogin
_,Where UserName=$UserName,Password=$Password";
$RS_query=mysql_query(($SQL),$MyConn);
$RS=mysql_fetch_array($RS_query);
if (!($RS==0))
{
$allow_session=true;
header("Location: exit;
}
else
{
header("Location:
mysql_close($MyConn);
$RS=null;
$MyConn=null;
exit;
}
my messages are also not short
does anyone have any ideas as to where i have gone wrong this time
one other question does mysql support accessing a paradox database?
thanks
rose
i think i have nearly worked this out i have just two problems left. these are the problems
Warning: Supplied argument is not a valid MySQL result resource in C:\Inetpub\ on line 18
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\ in C:\Inetpub\ on line 31
it has something to do with the folloing code
$MyConn=mysql_connect("ROSES","admin","little"
mysql_select_db("tbllogin.db",$MyConn);
$SQL="Select UserName, Password From tblLogin
_,Where UserName=$UserName,Password=$Password";
$RS_query=mysql_query(($SQL),$MyConn);
$RS=mysql_fetch_array($RS_query);
if (!($RS==0))
{
$allow_session=true;
header("Location: exit;
}
else
{
header("Location:
mysql_close($MyConn);
$RS=null;
$MyConn=null;
exit;
}
my messages are also not short
does anyone have any ideas as to where i have gone wrong this time
one other question does mysql support accessing a paradox database?
thanks
rose