derbyshiresoftware
-
Posts
6 -
Joined
-
Last visited
Posts posted by derbyshiresoftware
-
-
If I put in. <test it doesn’t work. Makes me think it could be a server setting if it works for others. It’s the < character it doesn’t like
-
Could it be a server. Setting? I could swear this used to work?
-
Yes I know thats good practice but it doesn’t work when you put the <text value value in and submit it. I was just trying to keep the code short.
-
Hello
I changed my code to what you said and it doesnt make any difference
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <?php print_r($_POST); ?> <form method="POST" > <input type="text" name="data" value="some data" maxlength="200"/> <input type="submit" name="process"/> </form> </body> </html>
-
Hello,
Having a problem when putting an xml tag in an input field. The field shows blank in $_POST. Heres some sample code
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<?php print_r($_POST);
?>
<form method="post" action="" >
<input type="text" name="data" value="some data" maxlength="200"/>
<input type="submit" name="process"/>
</form>
</body>
</html>If I put <test in the field it shows up blank in the print of POST.
I actually want to pass xml in a hidden field, and it wouldnt work. Tracked it down to this problem.
Thanks in Advance
Form Problem
in PHP Coding Help
Posted
Thanks. That fixed it. Think the data was being returned, but not displaying properly in debug.