Of course, simple miss :). Thanks!
Another question that may not belong here. If it doesn't, then I can create a new entry.
I have two different form fields that are activated using javascript depending on previous selections from a select list. Only one of these fields can be written to the database. I want to write these fields to the same column, to minimize the number of columns. How do I? I have tested using the or feature: ||, but it doesn't seem to work. Nothing is written then.
Here is the code I am trying to get to work:
$UpdateQuery->bindColumn("BokningAvbokningAterbetalningsnummer", "i", "".((isset($_POST["AterbetalninSwishnr"]))?$_POST["AterbetalninSwishnr"]:"")||((isset($_POST["AterbetalninKontonr"]))?$_POST["AterbetalninKontonr"]:"") ."", "WA_DEFAULT");