Ik zit nu met een probleem, ik heb nu dit :
Maar nu wordt de volledige pagina weergegeven.
Hoe kan ik dit oplossen ?
[COLOR= #0000BB]<?
$ch[/COLOR] [COLOR= #007700]=[/COLOR] curl_init[COLOR= #007700]();[/COLOR]
curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_URL[COLOR= #007700],[/COLOR] [COLOR= #DD0000]http://www.nieuwsblad.be/sportwereld/voetbal/ploeg.aspx?competitie=VB1112-4686&ploeg=VB1112-4686-VB1112-77617[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$content[/COLOR] [COLOR= #007700]=[/COLOR] curl_exec[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/preg_match"]preg_match[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]#<table width="100%" border="0" cellspacing="0" cellpadding="0" class="comp_txt">(.*)</table>#[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$content[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$klassement[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$klassement[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]];[/COLOR]
?> Maar nu wordt de volledige pagina weergegeven.
Hoe kan ik dit oplossen ?
