I have this simple problem and it's driving me insane...please help!
<?
if ($check == "1") {
echo stripslashes($testvar);
} else {
?>
<form action="<?php echo $PHP_SELF; ?>" method="post">
<input type="submit" name="submit1" value="ok">
<input type="hidden" name="testvar" value="\"Test\"">
<input type="hidden" name="check" value="1">
</form>
<?
}
?>
This will only return the backslash: \
The problem is that, that I want to submit a text field to the next side and when the user types in something
like: "blabla "bla" blabla" I will get into troubles!
Is there any way to get this variable correct through the form???
Argh...