hoebedoel je gejat idee
ik zeg net eergister dat ik er een zou maken :0
ik zeg net eergister dat ik er een zou maken :0
ik zeg net eergister dat ik er een zou maken :0
voor 0,3
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"mysql.connect.php"[/COLOR][COLOR= #007700])[/COLOR]
[COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT online FROM `website`"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #FF8000]//begin van script[/COLOR]
[COLOR= #0000BB]$online[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$online[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"De site is online"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$online[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"De site is offline"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Verkeerde invoer!"[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #FF8000]//eind script
//was dat zo moeilijk?[/COLOR]
?> 
Mybot schreef:Reageer dan ook nietOwned. en ik heb all en onderhoud script dus ik hoef dze niet

Dat jouw topic hieraan doodgaat, Kunnen wij niks aan doen!Mybot schreef:Houd gewoon je foking bek man, nuub.Heeft geen nut. Jij begon hiermee. ik verziek het niet