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']}\n";
echo "Error: " . mysql_errno() . ':' . mysql_error() . "\n";
echo "Query: $query\n";
echo "Line : $l
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
> /home/virtual/ppcu/home/htt
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 ne
3 matches
Mail list logo