Raaoul schreef:JaHuh? Heb ik iets gedaan dan?Eerdere citaten tonen
Maartenl schreef:Raaoul zat mijn Facebook onder te spammen
Domme vragen stellen, prikbord onderspammen en elk woord was nieuwe reactie 
Raaoul schreef:JaHuh? Heb ik iets gedaan dan?Eerdere citaten tonen
Maartenl schreef:Raaoul zat mijn Facebook onder te spammen
Domme vragen stellen, prikbord onderspammen en elk woord was nieuwe reactie 
Rik schreef:Heb nu dit maar ik wil eigenlijk dat ik ongeveer dit krijg:Iets in deze trant. Qua volgorde waarin de controles zitten zal niet echt veel kloppen, maar je snapt het principe.Eerdere citaten tonen
Shahiem schreef:Hoe dan?Eerdere citaten tonen
Rik schreef:Ik weet datEerdere citaten tonen
Shahiem schreef:Wie weet hoe je in PHP om de 2 berichten iets kan weergeven?[COLOR= #0000BB]<?php $k[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// 20 berichten simuleren[/COLOR] [URL="http://www.php.net/for"]for[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]<[/COLOR][COLOR= #0000BB]20[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++) {[/COLOR] [COLOR= #FF8000]// Als $k deelbaar is door 2[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]( ([/COLOR][COLOR= #0000BB]$k[/COLOR] [COLOR= #007700]%[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR] [COLOR= #FF8000]// $k resetten, onze spacer weergeven [/COLOR] [COLOR= #0000BB]$k[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Dit is een spacer! :D<br />[/COLOR][COLOR= #007700]; }[/COLOR] [COLOR= #FF8000]// Anders $k gewoon incrementen met 1[/COLOR] [COLOR= #0000BB]$k[/COLOR][COLOR= #007700]++[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Dit is bericht [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]. De spacer is nu [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$k[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]<br />[/COLOR][COLOR= #007700]; }[/COLOR] ?>
$k = 0;
while($speechFetch = $mysql->fetch($speechQuery))
{
// 20 berichten simuleren
for($i=0; $i< 1; $i++)
{
?>
<div class="speech">
<div class="speech_tl"></div>
<div class="speech_t">Albus Perkamentuss
</div>
<div class="speech_tr"></div>
<div class="speech_b">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$core[/COLOR][COLOR= #007700]->[/COLOR]entities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$speechFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]]);[/COLOR] ?></div>
<div class="speech_br"></div>
</div>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]// Als $k deelbaar is door 2[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]( ([/COLOR][COLOR= #0000BB]$k[/COLOR] [COLOR= #007700]%[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #FF8000]// $k resetten, onze spacer weergeven [/COLOR]
[COLOR= #0000BB]$k[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]s[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #FF8000]// Anders $k gewoon incrementen met 1[/COLOR]
[COLOR= #0000BB]$k[/COLOR][COLOR= #007700]++;
}
}[/COLOR] [COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$query[/COLOR][COLOR= #007700]->[/COLOR]fetch[COLOR= #007700]())
{[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] %[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$align[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]right[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$align[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]left[/COLOR][COLOR= #007700];
}
}[/COLOR]
?> 

Raaoul schreef:Shahiem, zo:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$query[/COLOR][COLOR= #007700]->[/COLOR]fetch[COLOR= #007700]())
{[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] %[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$align[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]right[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$align[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]left[/COLOR][COLOR= #007700];
}
}[/COLOR]
?> 

Azdinnn schreef:SubtielHuh, ben ik nou in Webwereld?!!?


Christopher schreef:sureIk heb een domeinnaam gevonden en weet niet of het de domeinnaam is die wel wat waard is.
Kan iemand die eerlijk is me helpen?
Vadid schreef:Dobro jutro.Goeden koude morgen.
Afbeelding niet beschikbaarDe bron kon niet worden geladen (turboimg.com).Bron openen ↗
Afbeelding niet beschikbaarDe bron kon niet worden geladen (dudelol.com).Bron openen ↗
Deze is ook leuk
Reinier schreef:Toen was mijn conditie flink beter denk ik.

