[COLOR= #0000BB]<?php
$xml[/COLOR] [COLOR= #007700]=[/COLOR] simplexml_load_file[COLOR= #007700]([/COLOR][COLOR= #DD0000]http://86.80.109.210/sms.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/foreach"]foreach[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$xml[/COLOR][COLOR= #007700]->[/COLOR]bericht [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$title[/COLOR][COLOR= #007700]->[/COLOR]auteur[COLOR= #007700];
}[/COLOR]
?> Werkt niet..;(
Warning: simplexml_load_file() [function.simplexml-load-file]: http://12.34.567.890/reader.php:8: parser error : Extra content at the end of the document in /home/eftelrijk/domains/eftelrijk.nl/public_html/xml.php on line 2
Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/eftelrijk/domains/eftelrijk.nl/public_html/xml.php on line 2
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/eftelrijk/domains/eftelrijk.nl/public_html/xml.php on line 2
Warning: Invalid argument supplied for foreach() in /home/eftelrijk/domains/eftelrijk.nl/public_html/xml.php on line 5
Wat is er fout?
moet weg en dan werkt ie denk wel.