Merci pour votre réponse.
Non la requête n'a pas l'air de s’exécuter car rien ne s'ajoute dans la BDD. Etant débutant en Joomla je ne trouve pas comment afficher cette requête.
Aucunes erreurs ne s'affichent.
je peux faire un var_dump de $query si ça peut aider
object(JDatabaseMySQL)#14 (17) { ["name"]=> string(5) "mysql" ["nameQuote:protected"]=> string(1) "`" ["nullDate:protected"]=> string(19) "0000-00-00 00:00:00" ["connection:protected"]=> resource(29) of type (mysql link) ["count:protected"]=> int(0) ["cursor:protected"]=> resource(124) of type (Unknown) ["debug:protected"]=> bool(false) ["limit:protected"]=> int(0) ["log:protected"]=> array(0) { } ["offset:protected"]=> int(0) ["sql:protected"]=> object(JDatabaseQueryMySQL)#455 (16) { ["db:protected"]=> *RECURSION* ["type:protected"]=> string(6) "insert" ["element:protected"]=> NULL ["select:protected"]=> NULL ["delete:protected"]=> NULL ["update:protected"]=> NULL ["insert:protected"]=> object(JDatabaseQueryElement)#445 (3) { ["name:protected"]=> string(11) "INSERT INTO" ["elements:protected"]=> array(1) { [0]=> string(12) "`#__contact`" } ["glue:protected"]=> string(1) "," } ["from:protected"]=> NULL ["join:protected"]=> NULL ["set:protected"]=> NULL ["where:protected"]=> NULL ["group:protected"]=> NULL ["having:protected"]=> NULL ["columns:protected"]=> object(JDatabaseQueryElement)#444 (3) { ["name:protected"]=> string(2) "()" ["elements:protected"]=> array(1) { [0]=> string(7) "`Array`" } ["glue:protected"]=> string(1) "," } ["values:protected"]=> object(JDatabaseQueryElement)#442 (3) { ["name:protected"]=> string(2) "()" ["elements:protected"]=> array(1) { [0]=> string(660) "'272','anjarry (caroline@itnt.fr)','[Agence] imser@orange.fr\n[Particulier] Non\n[Entreprise] Non\n[Raison sociale] \n[Nom] anjarry\n[Prénom] caroline\n[Email] caroline@itnt.fr\n[Adresse postale] \n[Téléphone] 0471066262\n[Type de véhicule] 3m³\n[Nb de jours souhaités] 1 jour\n[Estimation des kilomètres] 200\n[Précisez les dates de location du... au...] test\n[Sujet de votre message] test\n[Votre message] test\n\n\nImédia Location - http://www.imedia-location.fr/le-reseau/contact-imedia-location-tarifs.html\nClient: 193.252.207.69 - Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36\n'" } ["glue:protected"]=> string(4) "), (" } ["order:protected"]=> NULL } ["tablePrefix:protected"]=> string(6) "ehq86_" ["utf:protected"]=> bool(true) ["errorNum:protected"]=> int(0) ["errorMsg:protected"]=> string(0) "" ["hasQuoted:protected"]=> bool(false) ["quoted:protected"]=> array(0) { } }
Partager