I am trying to pass the value of a variable with a hidden tag, but because the variable contains a " it does not get passed properly. If I 'echo' the value of this variable on the page I am trying to pass it from, I get this:
54.25" 14.75#/24gsm. White TT (T-100RS)
If I use a hidden tag, like this:
print "<input type=hidden value=matl_desc value=$matl_desc>\n";
And then I echo the value at the top of the next php page, I get this:
54.25\"
I do not use the addslashes() function anywhere, so I'm not sure what is happening with the added slash.
Any ideas on how I can get this variable to pass properly to the next PHP script (which adds it to a mysql db?)