XML and PHP questions
<pre><code>$new = $doc-&gt;createElement("Cars");
</code></pre>

<p>to open an element how would I close this element?</p>

<p>and if i have a text box </p>

<pre><code>&lt;input type="text" name="toCity"&gt;
</code></pre>

<p>how can i write what the user puts in the textbox as an element?</p>

<p>Any help would be appreciated.</p>
