Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

When to do Convert::raw2sql?


Go to End


2196 Views

Avatar
dio5

Community Member, 501 Posts

2 October 2007 at 8:01am

Is it recommended to do this always?

When getting data from a form by using $form->saveInto(), is this already built in or do we better run through the data first and convert it to sql-safe values?