CodeIgniter Forums
off error handling of code ignitor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: off error handling of code ignitor (/showthread.php?tid=25011)



off error handling of code ignitor - El Forum - 11-27-2009

[eluser]varun[/eluser]
Hi all

i am working with sqlite database. where i need to create a table if it not exist in database. how can i do that?

and one more thing how can i remove CI error handlers.


with thanks

varun bajaj


off error handling of code ignitor - El Forum - 11-27-2009

[eluser]überfuzz[/eluser]
[quote author="varun" date="1259350869"]Hi all

i am working with sqlite database. where i need to create a table if it not exist in database. how can i do that?

and one more thing how can i remove CI error handlers.


with thanks

varun bajaj[/quote]

Easiest way would probably be by using phpmyadmin or something similar. You can create a table using pure php code. Create sql-table Exactly what error handler are we talking about.


off error handling of code ignitor - El Forum - 11-27-2009

[eluser]Maglok[/eluser]
You can also use the dbforge methods in CI, see user_guide: http://ellislab.com/codeigniter/user-guide/database/forge.html

I have used this myself, so as to not be reliant on phpmyadmin or anything.


off error handling of code ignitor - El Forum - 11-27-2009

[eluser]varun[/eluser]
Thank you very much for your comments, it is really what i was looking for.

I am looking for remove CI error handling and want to use my own by try{} catch method or other.


thanks again for your valuable help.


Vaurn Bajaj