Using PHP script to fill in XML
- by Yaaqov
Hi - we are all familiar with "embedding" PHP scripts in HTML pages to do tasks like displaying form results, but how can that be done in a way that displays XML?
For example, if I wrote:
<? xml version='1.0' ?>
<Responses>
<?php
$body = $_GET['Body'];
$fromPh = $_GET['From'];
echo
echo…