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! Quote 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(). Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.