Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

countrylist values


Recommended Posts

This is a new bie of php,got stuck with this issue the issue is


From catalogue request form i need to take the values send to te admin as mail.i did it using mail function but the problem here is iam getting the country values as number that is id of country.


I tried by changing html_output.php


original script is $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"';


changed to $field .= '<option value="' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '"';


getting error in the catreq page saying that please fill the the requested field.


those who help me will be rewarded.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...