Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Changes to $newvals are not posted to the DB

phpMyEdit General     Changes to $newvals are not posted to the DB
Odoslať novú tému   Odpovedať na tému    
 
blackout     Založený: 26.06.2007   Príspevky: 2  
Príspevok Zaslal: 2007-06-26 10:57
Návrat hore  Odpovedať s citátom     

I would like to change the value of a field in the INSERT BEFORE trigger. I can view the contents of the entries in $newvals, but if I change a value in $newvals this change is not posted to the DB.

Example:
Citácia:

$newvals[codapp]=$my_cod;


Any suggestions?
Thanks

( I use phpmyedit 1.71 2003/04/07 )

 
blackout     Založený: 26.06.2007   Príspevky: 2  
Príspevok Zaslal: 2007-06-27 08:28
Návrat hore  Odpovedať s citátom     

The tip not work for me.
I've in my php file this field:
$opts['fdd']['codapp']

I would like to change the value of the field 'codapp' in the INSERT BEFORE trigger.
I tried with "$newvals[codapp]=$my_cod;" but not work.
I tried with "$opts['cgi']['overwrite']['codapp'] = $my_cod;" but not work.
The changes are not posted to the DB.

Any suggestions?
Thanks

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov