I want to perform this this GET function, but in php:
Code: Select all
<FORM METHOD=GET ACTION="http://www.w3schools.com/XML/note.xml">
<INPUT TYPE=SUBMIT>
</FORM>
Moderator: General Moderators
Code: Select all
<FORM METHOD=GET ACTION="http://www.w3schools.com/XML/note.xml">
<INPUT TYPE=SUBMIT>
</FORM>
Code: Select all
$file = "http://www.w3schools.com/XML/note.xml";
$xml = simplexml_load_file($file)It would be easier to try it than post a question. So, did it work?prizo wrote:Should work?