English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm always get the message
"request CLEbook->Update() is invalid"
I don't know about the php codes.
I know that you can help me to realized that what's the problem.
The below information is the part of codes that I think it shall be the problem. Please help me solve this problem.
Thanks


$SQL.=" WHERE ebook_id=" . $ebook_id ;
$this->Result = $this->Db->DbQuery ($SQL)
or die ("request CLEbook->Update() is invalid");

2006-08-24 07:32:15 · 2 answers · asked by gbbhoho 2 in Computers & Internet Programming & Design

2 answers

You didn't put in a command. Your not telling it to do anything. It might work if you use a select or update, such as (this might be wrong) SELECT 'Item' from Table WHERE...

2006-08-24 07:39:58 · answer #1 · answered by windfishfighter 3 · 0 0

It looks like your database connection is failing. Check your vars.php or config.php file to be sure you have the database name, password, and username listed correctly. If this is a new problem it could be that your database server is down.

If you would like personal help email:
support at StormScripts.com

2006-08-24 07:44:14 · answer #2 · answered by computrec 2 · 0 0

fedest.com, questions and answers