Guest Posted November 18, 2008 Share Posted November 18, 2008 HELP!!!Something is wrong with this code and my post code won't show up on the account page. Gina <?php } ?> <tr> <td class="main"><?php echo ; ENTRY_POST_CODE_TEXT?></td> <td class="main"><?php echo tep_draw_input_field('zipcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> Link to comment Share on other sites More sharing options...
Guest Posted November 18, 2008 Share Posted November 18, 2008 Should be <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> You will notice that you have " zipcode " for your tep_draw_input field name. Stock osc should be postcode. You will have to check what yours is. Like in create_account.php towards the top of the page look for $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']); Make sure they match. Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 18, 2008 Share Posted November 18, 2008 Try changing this <td class="main"><?php echo; ENTRY_POST_CODE_TEXT?></td> to this <td class="main"><?php echo ENTRY_POST_CODE_TEXT; ?></td> Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted November 18, 2008 Share Posted November 18, 2008 THANKS--IT WORKED!!! GIna HELP!!!Something is wrong with this code and my post code won't show up on the account page. Gina <?php } ?> <tr> <td class="main"><?php echo ; ENTRY_POST_CODE_TEXT?></td> <td class="main"><?php echo tep_draw_input_field('zipcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.