Jump to content

Joomla MVC saving data from a form


CaptainChainsaw

Recommended Posts

Hi all,

 

I'm wanting to save data from a web form to my mysql db. I know the JTable class has a save method in it, so it shouldn't be too diffcult saving data. Should my form elements be named the same as properties of my JTable subclass? If not, how exactly do I save data? How does it know which elements to save and to which fields in the db?

 

 

Thanks for any advice on this.

 

Cheers,

 

CC

Link to comment
https://forums.phpfreaks.com/topic/126598-joomla-mvc-saving-data-from-a-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.