Il faut rajouter des requêtes SQL :
Pour récupérer :
$query = 'SELECT champ1, champ2 FROM table WHERE id=' . $t_id;
$t_result = db_query( $query );
...
Pour ajouter :
$query = 'INSERT INTO table (champ1, champ2, ...) VALUES (champ1_value, champ2_value...)';
$t_result = db_query( $query );
Vous trouverez tout un tas d&
#039;exemples dans les fichiers
core/user_api.php,
core/bug_api.php...
Vincent
Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Please complete your
signature with your environment informations.
Enable skype notification
here