Hello,
I would like to make a table column editable that is written in PHP. And that edited value should be subtracted with the data in another column automatically to change the value of it.
Eg: I have 3 columns, Pass/Fail/Blocked. $pass and $fail are taken from DB & Blocked is chnaged by user. I would like to make Blocked editable and fail should be recalculated by subtracting Blocked data dynamically.
Also please let me know how to validate the blocked data input to be only numberic.
I tried embedding javascript in PHP, but doesn't work. Please help.