Hi folks - I have a form that displays a value pulled from a database
field.
<?php echo "<input type=text name='storename ' value='$storena me'>"; ?>
I noticed that if $storename contains something like "Ma's Bakery", all
that shows up in the field is "Ma". Do I really have to go through all my
form fields and change them to
<?php echo "<input type=text name='storename ' value='".$store name."'>"; ?>
Although I guess
<?php echo "<input type=text name='storename ' value=\"$storen ame\">"; ?>
would work, too.
Oh well.
field.
<?php echo "<input type=text name='storename ' value='$storena me'>"; ?>
I noticed that if $storename contains something like "Ma's Bakery", all
that shows up in the field is "Ma". Do I really have to go through all my
form fields and change them to
<?php echo "<input type=text name='storename ' value='".$store name."'>"; ?>
Although I guess
<?php echo "<input type=text name='storename ' value=\"$storen ame\">"; ?>
would work, too.
Oh well.
Comment