CodeIgniter Forums

Full Version: tutorial code issue - working with database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
"the working with database example" in the link bellow, has a minor code issue in the provided sample code

The edit capability is not working.

Here is where the sample code is:

https://www.tutorialspoint.com/codeignit...tabase.htm

For the sample code to run I had to edit stud_edit.php, and remove the following line:

<form method = "" action = "">
Yeah, they definitely have it wrong. They use form_open() and form_close(), so no need for the <form /> elements since CodeIgniter will generate them. You could bring that to their attention and maybe get it fixed.