Hoii
Ik ga je leren hoe je een wist je dat.. kan maken!
Demo: Klik
Hoe maak je het:
Stap 1: Open notepad ++ / iets anders.
Stap 2: Kopieer en plak deze code:
Stap 3: Typ nu:
Stap 4: En dan deze code:
Klaar! Veel plezier
- Zzeldje
Ik ga je leren hoe je een wist je dat.. kan maken!
Demo: Klik
Hoe maak je het:
Stap 1: Open notepad ++ / iets anders.
Stap 2: Kopieer en plak deze code:
[COLOR= #0000BB]<?php
$randomw[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]"Tekst 1"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$randomw[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]"Tekst 2"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$randomw[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]"Tekst 3"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$randomw[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]"Ttekst 4"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$randomw[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]"Tekst 5"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/srand"]srand[/URL] [COLOR= #007700]((double)[/COLOR] [URL="http://www.php.net/microtime"]microtime[/URL][COLOR= #007700]() *[/COLOR] [COLOR= #0000BB]1000000[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$chosen[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR][URL="http://www.php.net/count"]count[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$randomw[/COLOR][COLOR= #007700])-[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$wistjedat[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$randomw[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$chosen[/COLOR][COLOR= #007700]];[/COLOR]
?> Stap 3: Typ nu:
<b>Wist je dat...</b> Stap 4: En dan deze code:
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$wistjedat[/COLOR][COLOR= #007700];[/COLOR] ?> Klaar! Veel plezier
- Zzeldje




