Search code examples
phphtmlstringsyntaxquotes

Sending string in quotes from html to php


I have a html form tag that sends this string to a php file:

value='network="export"'

when loaded in php, it shows up as:

network=\"export\

what would be the proper syntax to use in html so when loaded in php, it'll show up as:

network="export"

hope my question wasnt confusing, thanks for the help!


Solution

  • Sounds like you need to disable magic quotes in PHP.