Word "occup" is deleted from sql insert command ????

Hello ,

This command works :

$requete = "SELECT date,bloctype_1,grattype_1,typech_1, … FROM occup " ;

But this not ???

$requete = "INSERT INTO occup (date,bloctype_1,grattype_1,typech_1, … ";
sc_exec_sql($requete);

When I’m looking the sql command in run, the word “oocup” was deleted from my code" , this is the code in form_…_apl.php

$requete = “INSERT INTO$this->occup (date,bloctype_1,grattype_1,typech_1,…”;

Anybody know what happen ???

Thanks

Please, show your complete sql command for INSERT INTO … and the sql output when you set the debug modus = on.

Hi Reinhard

I change table name from “occup” to “woccup” and it’s work without changing anything else !!!

Is “occup” and reserved word ??? , are there a reserved word list ??

Thanks

No idea …

It’s not a reserved word in php nor mySQL. So curious…

Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann

Are you able to use that work if you put `` around it?

Hello Nacyil,

Our support team was unable to simulate the problem. Perhaps it is something specific to your application.

Have you tried to create a new form (without performing any modifications) to see if the issue happens?

regards,
Bernhard Bernsmann