camaron wrote:And the bd.php included select the database that is clubd
No, it doesn't. The file db.php never uses [man]mysql_select_db/man, so db.php never selects the database.
camaron wrote:hmmm i dont know what you are saying me xP
I'm saying quite simply: use [man]mysql_select_db/man to select the database before you perform any queries.
Perhaps its the language barrier that's causing problems? If so... ojalá que puedes entenderme si yo hablo en español:
Necesitas usar la función [man]mysql_select_db/man antes de [man]mysql_query/man para seleccionar la base de datos. Por ejemplo, puedes usarla en "db.php" después de [man]mysql_connect/man o [man]mysql_pconnect/man.
My apologies if my Spanish is hard to understand. :o