rw1
Moderator
hello,
with element type of 'field' (varchar255, latin1_swedish_ci), data is submitted via the form as:
and then in the database it is appearing as:
so it is:
- adding a " before the classname
- removing a " before the url
- removing & after rel=0
the reason i am submitting the data in this format with this element type is so that i can use colorbox to pop up the link.
can anyone please tell me how i can get the data to remain the same in the database as when it is submitted?
thank you.
with element type of 'field' (varchar255, latin1_swedish_ci), data is submitted via the form as:
Code:
<a class='classname' href="https://www.youtube-nocookie.com/embed/xxxxxxxx?rel=0&wmode=transparent">link</a>
and then in the database it is appearing as:
Code:
<a class="'classname' href=https://www.youtube-nocookie.com/embed/xxxxxxxx?rel=0&wmode=transparent">link</a>
so it is:
- adding a " before the classname
- removing a " before the url
- removing & after rel=0
the reason i am submitting the data in this format with this element type is so that i can use colorbox to pop up the link.
can anyone please tell me how i can get the data to remain the same in the database as when it is submitted?
thank you.