1.

What is the purpose of the parameter $value?(a) Field’s expected value(b) Field’s previous value(c) Field’s current value(d) Field’s probability value

Answer» Right option is (c) Field’s current value

Easy explanation: getinputhtml() accepts two arguments: $name and $value. The parameter $value is the field’s current value (either from the DB, or the POST data if there was a validation error).


Discussion

No Comment Found

Related InterviewSolutions