Forum » » Version future » » [Résolu] - npds-annonces
Posté : 18-01-2022 16:21 
C'est parfait.
Donc je récapitule
Créer un répertoire images dans modules/npds_annonces
Modifier adm_cat.php
remplacer le vide '' de la premiere VALUES par '0'
ligne 45 et 48
comme ceci ==>
$query="INSERT INTO $table_cat (id_cat,id_cat2,categorie) VALUES ('
0','0','".addslashes($categorie)."')";
$query="INSERT INTO $table_cat (id_cat,id_cat2,categorie) VALUES ('
0',$id_catSCAT,'".addslashes($categorieSCAT)."')";
et annonce_form.php ligne 48
$query.=" VALUES ('
0','$id_user', '$id_cat', '$tel', '$tel_2', '$code', '$ville', '".time()."', '$text', '0', '$prix')";
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=26735&forum=4