Buy Now
Sign in

reference field in php fragment

broberts , August 17 2008, 19:05
B
broberts 24
August 17 2008, 19:05 #11612
In the body section I want to do something based on a field value. How do I reference one of the query fields in php?
admin 28
August 17 2008, 19:59 #11613
Hi,

the current row can be accessed through $row variable, so you can check with something like : if($row->id == 1)do_something!

let me know how this works!

Cheers

Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!
B
broberts 24
August 17 2008, 20:12 #11616
works fine, thanks