Hallo,
Ik zit met een probleem.
Ik maak een one2xs in iPhone versie.
Maar ik heb de rechten van het database enzo niet.
Dus heb ik een andere manier gevonden.
Lukt het mij niet helemaal.
Kunnen jullie mij helpen?
Dit script gebruik ik.
Alleen geeft hij niks weer.
Het probleem in volgens mij de [tabs].
Zonder [tabs] doet hij het goed maar met tabs werkt hij niet meer.
Wie heeft hier ervaring mee?
Ik zit met een probleem.
Ik maak een one2xs in iPhone versie.
Maar ik heb de rechten van het database enzo niet.
Dus heb ik een andere manier gevonden.
Lukt het mij niet helemaal.
Kunnen jullie mij helpen?
[COLOR= #0000BB]<?php
$html[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"http://www.one2xs.com/threads/"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"&p="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]p[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/preg_match_all"]preg_match_all[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]/<div id="bericht_(.*?)">(.*?)</div>/[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$matches[/COLOR][COLOR= #007700],[/COLOR] PREG_SET_ORDER[COLOR= #007700]);[/COLOR]
?>
<ul id="topic" title="Het topic">
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/foreach"]foreach[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$matches[/COLOR] [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$val[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]""[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$val[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Tekst: "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$val[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];
}[/COLOR]
?>
</ul> Dit script gebruik ik.
Alleen geeft hij niks weer.
Het probleem in volgens mij de [tabs].
Zonder [tabs] doet hij het goed maar met tabs werkt hij niet meer.
Wie heeft hier ervaring mee?
