Hi
I have managed to connect to my DB using OOP php classes and what not and can view my DB, but now i am struggling to insert data from my form into my database, and I am lost with how to code it. Any help or direction would be much appreciated.
thanx
chris
Page 1 of 1
inserting data into a DB using OOP php
#2
Posted 05 April 2012 - 10:41 AM
Are you using an MVC approach, splitting your files into models, views and controllers? If so, you should have models representing your data, and you should have methods within your objects that will handle the insertion of data.
Benjamin Falk | Falken Creative : Twitter : KillerSites Screencast Blog
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter
Share this topic:
Page 1 of 1

Help











