best bet is to put some error checking in.
function _check_db($query = '', $line = '')
{
if ( mysql_errno() )
{
echo Error: Problem with DataBase : {$GLOBALS['db_database']}br\n;
echo Error: . mysql_errno() . ':' . mysql_error() . br\n;
echo Query: $querybr\n;
echo Line :
You forgot to select the database!
mysql_select_db($db_name);
-elias
http://www.eassoft.cjb.net
Taline Makssabo [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This is a program i wrote to get some information at keep track with some
stats. I am very new at
On 18-May-01 Taline Makssabo wrote:
This is a program i wrote to get some information at keep track with some
stats. I am very new at this so bare with meI keep on getting this
Warning:
Warning: Supplied argument is not a valid MySQL result resource in
3 matches
Mail list logo