How can I write the form ID in the form_open function in CodeIgniter? (I need to use the ID for the CSS). For example, this is simple HTML:
<form method="post" action="" id="my_form">
I am trying the following code, but it does not work:
<?php echo form_open('my_form'); ?>
Thanks.
https://codeigniter.com/user_guide/helpers/form_helper.html
$attributes = array('id' => 'myform');
echo form_open('email/send', $attributes);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With