Jump to content

INSERT BASICS- REGEX etc...


mojito

Recommended Posts

After basic javascript (clientside) verification what steps should I take with my data fields.

 

I would like some of the fields to be able to contain some basic formatting in HTML like </strong> etc...

This poses me a question as I cant just remove these characters. This html is (normally) comming from my WYSIWYG editor attached to my text field.

 

Is there a good resource that deals with this or better a brief list of key checks that should be made server side just before the INSERT.

 

Thanks for any insight you freaks.

 

PS If your in the cambridge area come and join a cool discussion forum at [a href=\"http://mycambs.com\" target=\"_blank\"]www.mycambs.com[/a]. Why is it cool? because it has some very interesting topics of discussion and members who challenge thought. It isnt into globalisation either we do welcome tree huggers and also corporate monkeys alike!

 

 

Link to comment
Share on other sites

I'm not sure I understand what you mean -- why does their WYSIWYG input need to be validated again? There's nothing wrong with storing HTML in a field from a DB perspective, as long as everything is properly quoted and the field length is sufficient. What did you have in mind?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.