i am trying to display address that contains commas(,) but the problem is after first comma address in not populating.
my code-
<td class="content"><input name="txtShippingAddress2" type="text" class="box" id="txtShippingAddress2" size="40" maxlength="100"
value=<?php echo $Address; ?> ></td>
my address in DB = ’23 Awe, Charls street’
but it is displaying only ’23 Awe’ if i remove comma it will display whole address.
what shoul i do?
You need to put quotes before the
<?phpand after the?>:value="<?php echo $Address; ?>"