-
i'm sorry but this is not available at the moment, that syntax is used only in the setfilter but it has a different meaning (binding is due to the variable way setfilter uses, you bind a p4a data field and the setfilter changes when the data field changes, not the same for setwhere)
2010-01-07 15:17:15 UTC by balliano
-
Hi All,
Is there anyway of propaly binding variables to a p4a_source setWhere in the same way you can with p4a_db fetchRow or similar, i.e.
$mysource->setWhere("name = ?", array($id));
seems a little bit of a security risk having to:
$mysource->setWhere("name = '{$id}'");
?
Ta
Nick.
2010-01-07 15:12:32 UTC by nickkknight
-
ciao, session autostart non è necessario (io non l'ho mai usato) magari c'e' stato un problema di upload, mi sembra strano l'errore di deserializzazione..
2010-01-05 13:06:38 UTC by balliano
-
Help!
I have the following db_source definition:
$this->build("p4a_db_source", "source")
->setTable("packing")
->addJoinInner("containeritemspec a",
"a.packingItemOid = packing.packingItemOid",
array('a.containerCapacityCount'=>'CartonCapacity'))
->addJoinInner("containeritemspec b",
"b.packingItemOid =...
2010-01-03 23:15:47 UTC by snjenga
-
Try this
$this->table->rows->implement("afterClick", $this, "RefreshFunction");.
2010-01-03 22:31:55 UTC by snjenga
-
risolto disabilitando session.auto_start da dentro il .htaccess nella directory dell'applicazione... mi sa che è il caso di metterlo nel wiki in mezzo alle raccomandazioni dei settaggi del php!!!
2010-01-03 17:14:34 UTC by Mr.SK
-
Salve a tutti!
Volevo provare P4A, quindi l'ho scompattato dal .tgz su una macchina FreeBSD con PHP 5, MySQL e tutto il resto. La macchina viene solitamente usata per sviluppare applicazioni WEB quindi sono abbastanza certo della sua configurazione ed ha anche già precaricate quasi tutte le estensioni standard....
Ho reso scrivibili le directory upload e tmp, creato il DB dentro mysql, e...
2010-01-03 16:59:02 UTC by Mr.SK
-
I've recently started using p4a and I'm not sure about something.
Does it handles tables and records locks?
For example, If I am editing 1 record and another person tries to edit it too, will both be able to do so?
Is the locking procedure just in the database level?
Thanks!
2010-01-02 13:53:39 UTC by pauloasj
-
Hi guy;
How can implement a select field with a some data from my database at a Login Mask. Help me please.
Thanks a lot.
2009-12-19 00:48:50 UTC by helesjunior
-
Hi.
Is there any way to to this with p4a?
I know (and i use) multivalue with checkbox, but i need with text fields.
I have an ticket system and i need to create dynamic fields. I have this:
ticket(id, ...)
extra_fields(id,name)
extra_field_tickets(id,id_ticket,id_extra_field,value)
tks!
2009-12-17 14:01:52 UTC by lifeguard