This topic is locked

comparing fields

12/11/2008 5:08:05 AM
PHPRunner General questions
F
fryon author

Good day,

I have 2 tables, payment and reg.
payment Table

id

regfee

approve(default value=0)
reg

idNo (foreign key)

requiredFee
I need to compare two vlaues from payment ang reg.
If regfee<requiredFee and approve=0 then FALSE, ELSE TRUE.
is it possible with phprunner?
Thanks.