php tutorials, php form validation
Archive Tutorials
Discussion Home
Login / Register

Board List
PHP programming
General

Links
How to save gas 25% or more
Marshall Reddick
Network Marketing Forums
Income Tax Help
Lose 10 Pounds in 3 Weeks
PHP Forum Script
Online Contest

Learn PHP in 47 hours!

Back to General

Search

Form field shows characters / code Form field shows characters / code

Form field shows characters / code

by goldenpudel on Thu 09/28/2006 06:43 AM

This php form is the best I found for absolute beginners. Well described, easy intergration. However, there is one thing that does not work in my adaptation. When I open the form page on the server, I have characters in my form field, such as <br />. Where does this come from? That's the code I use within the HTML form: 

<input type="text" class="formfield" size="30" name="Vorname"
value="<?php echo $_POST["Vorname"];?>" maxlength="30"> 

Thanks for your help!

[Reply] [Back to Top]

check your code

by uclaboyz on Thu 09/28/2006 12:07 PM

Hi there, 

check your HTML code around your form, most likely there could be missing a " or < or > somewhere.

[Reply] [Back to Top]

Problem not solved

by goldenpudel on Mon 10/02/2006 02:13 AM

I've checked the code again and couldn't find wrong or missing code around the form. But, after deleting the value statement (see above) including the PHP code within the input tag, the <br /> disappears in the browser. Should be associated with this part of the code, I suppose, but I couldn't locate the error yet.

[Reply] [Back to Top]

© Copyright 2006-2007.  All Rights Reserved. Site hosted by Small Business Web Design
how to start a blog | parenting tips website | Passive Income | baby websites