Welcome Guest, Not a member yet? Register   Sign In
off error handling of code ignitor
#1

[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
#2

[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.
#3

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

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

[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




Theme © iAndrew 2016 - Forum software by © MyBB