Database |
[eluser]danst[/eluser]
I can't seem to figure out a way to insert data into my table using the codeigniter here's my code Code: $name = $this->input->post('name'); Here's my error message Quote:A Database Error Occurred Any ideas why I'm getting this error?
[eluser]wh1tel1te[/eluser]
Remove the single quotes around $query_insert_user.
[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...tml#insert Code: $data = array(
[eluser]danst[/eluser]
Thank you for the replay. I knew I could get it to work with $this->db->insert I just feel more comfortable with writing my own sql queries rather than using codeigniter helper functions. |
Welcome Guest, Not a member yet? Register Sign In |