PHP Classes

Yet another MySQL problem

Recommend this page to a friend!

      pop3.class.inc  >  All threads  >  Yet another MySQL problem  >  (Un) Subscribe thread alerts  
Subject:Yet another MySQL problem
Summary:Incorrect table name ''
Messages:3
Author:Jo Shelley
Date:2008-03-05 01:16:35
Update:2008-07-14 16:04:41
 

  1. Yet another MySQL problem   Reply   Report abuse  
Picture of Jo Shelley Jo Shelley - 2008-03-05 01:16:35
This package obviously has inherent and repeatable problems. I'm also experiencing the Incorrect table name '' error.

The tables have been set up with the fix generously given by another user, but the problem remains. C'mon folks - please do a little more testing before publishing packages that are full of bugs. Is this for MySQL 4 or 5? What other PHP environmental factors might there be?

Cheers.

  2. Re: Yet another MySQL problem   Reply   Report abuse  
Picture of Steffen Stollfuß Steffen Stollfuß - 2008-03-10 13:58:36 - In reply to message 1 from Jo Shelley
Hi,

every day I see that only less people read the comment for the mysql functions.

But again for you. This was an Experiment. I never touched the code in the last time. ATM I'm working on the php5 version of this class and when this will got finished I stop the support for the php4 version.

regards
j0inty

  3. Re: Yet another MySQL problem   Reply   Report abuse  
Picture of Henrique Cunha Henrique Cunha - 2008-07-14 16:04:41 - In reply to message 2 from Steffen Stollfuß
On pop3_test.php change the line:

$query = 'SELECT `unique_id` FROM `'.$msg_table.'` WHERE 1 AND `unique_id` = \''.$unique_id.'\' LIMIT 0, 1';

To:

$query = 'SELECT `unique_id` FROM `'.$db["msg_table"].'` WHERE 1 AND `unique_id` = \''.$unique_id.'\' LIMIT 0, 1';