This topic is locked

show "add new"

9/1/2009 6:06:54 AM
PHPRunner General questions
S
sogoli author

hello
i have two table master/detail
TABLE_A (master)

--------

id

name

family
TABLE_B (detail)

--------

id

id_A

note
now,i want to show "add new"button ( TABLE_B ) when TABLE_B not record

but if that is record exist ,then hidden "add new" button or disable button.

D
danaci 9/1/2009

$xt->assign("yourbutton_link",false);