form_close()

form_close([$extra = ''])

Parameters:
  • $extra (string) – Anything to append after the closing tag, as is
Returns:

An HTML form closing tag

Return type:

string

Produces a closing </form> tag. The only advantage to using this function is it permits you to pass data to it which will be added below the tag. For example:

$string = '</div></div>';
echo form_close($string);
// Would produce:  </form> </div></div>
doc_CodeIgniter
2016-10-15 16:32:18
Comments
Leave a Comment

Please login to continue.