$requete = mysql_db_query(astro_pbb,"SELECT username,user_password FROM phpbb_users WHERE username=\"$username\" AND user_password=\"$user_password\"") or die(mysql_error());
$requete = mysql_db_query(astro_pbb,"UPDATE phpbb_users SET connexion_id=\"$id\" WHERE username=\"$username\" AND user_password=\"$user_password\"") or die(mysql_error());
----------------------------------------
Les variables sont dans un fichier config.php
3E CODE:
mysql_connect($host,$user,$password);
mysql_select_db($database);
$query = "UPDATE ".$table." SET date_paiement_annee='".$annee."', date_paiement_mois='".$mois."', date_paiement_jours='".$jours."', date_espire_jours='".$jours_fin."', date_espire_mois='".$mois_fin."', date_espire_annee='".$annee_fin."', paiement='valide' WHERE username='".$username."'";
--------------------------------------------