Hope someone can help me! I have a PHP form which is posting data to another server - however, I need to post a hidden field of parameters, but as an XML string - E.g.:
<form action="#" method="post">
<input type=”hidden” name=”values” value="{XML-formatted string}" />
</form>
The XML values will be most of the form fields I'm collecting, such as name, address, email, phone etc. etc.
Has anyone done this and importantly have an example of the code to achieve this? - its basically how to format and post the form values as the required XML string in order for the remote server to accept!
Many thanks in advance!