Created
August 13, 2013 19:38
-
-
Save SpencerCooley/6224869 to your computer and use it in GitHub Desktop.
xml example using post data from a form.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$xml_data = '<SalesOrders>'. | |
'<row no="1">'. | |
'<FL val="Subject"><?php echo $_POST["subject"]; ?>!/FL>'. | |
'<FL val="Due Date"><?php echo $_POST["date"]; ?>!</FL>'. | |
'<FL val="Sub Total"><?php echo $_POST["total"]; ?>!</FL>'. | |
'<FL val="Tax"><?php echo $_POST["tax"]; ?>!</FL>'. | |
'</row>'. | |
'</SalesOrders>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment