wanner Posted September 22, 2009 Share Posted September 22, 2009 Hi, I am using Joomla 1.5. I have a question about escaping my data before inserting it into the db. Do i need to escape my data when using JTable::store() ? Thanks! Link to comment https://forums.phpfreaks.com/topic/175131-joomla-need-to-escape-variables/ Share on other sites More sharing options...
halfman Posted September 24, 2009 Share Posted September 24, 2009 I think you need to escape it just because the JTable::store() is binding the post record to the ones in the table and if there are similar then it will update the table. so I would say in the POST you escape the POST array and then use the JTable::store(). Link to comment https://forums.phpfreaks.com/topic/175131-joomla-need-to-escape-variables/#findComment-923953 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.