CI_Form_validation::error_string()

error_string([$prefix = ''[, $suffix = '']])

Parameters:
  • $prefix (string) – Error message prefix
  • $suffix (string) – Error message suffix
Returns:

Error messages as a string

Return type:

string

Returns all error messages (as returned from error_array()) formatted as a string and separated by a newline character.

doc_CodeIgniter
2016-10-15 16:31:33
Comments
Leave a Comment

Please login to continue.