CodeIgniter Forums
tutorial code issue - working with database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Learn More (https://forum.codeigniter.com/forumdisplay.php?fid=15)
+--- Thread: tutorial code issue - working with database (/showthread.php?tid=67851)



tutorial code issue - working with database - aronsereny - 04-17-2017

"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/codeigniter/working_with_database.htm

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

<form method = "" action = "">


RE: tutorial code issue - working with database - xenomorph1030 - 04-18-2017

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.