Azdinnn schreef:Ik moest lachenIk ben fier op je, Sander
!Azdinnn schreef:Ik moest lachenIk ben fier op je, Sander
!Sanderc schreef:Beter ga je een switch gebruiken.SorryEerdere citaten tonen
Sebastiaanh schreef:Begin er nou niet over.Eerdere citaten tonen
Sanderc schreef:Neen, maar ik geef het toe dat ik in het begin echt een vette dikke spammer wasEerdere citaten tonen
Sebastiaanh schreef:Echt, met dit soort reacties lok je dingen uit.Eerdere citaten tonen
Sanderc schreef:Ja, sinds dat ik erbij ben is het zon stuk ongezelliger ehEerdere citaten tonen
Sebastiaanh schreef:Toen was het iig. wel een stuk gezelliger dan nu.Eerdere citaten tonen
Patricka schreef:Dat waren nog eens tijden.![]()
!!
.
!
Ik heb trouwens net iets gescript met wat ik al kan wat ik uit een tut heb geleerd.[COLOR= #0000BB]<?php $getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is groter aan 10![/COLOR][COLOR= #007700]; }[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is gelijk aan 10[/COLOR][COLOR= #007700]; }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is kleiner dan 10[/COLOR][COLOR= #007700]; }[/COLOR] ?>
Dat kan ik dus alBen er fier op.

Afbeelding niet beschikbaarDe bron kon niet worden geladen (cdn.styleforum.net).Bron openen ↗Sanderc schreef:We zeggen toch niks verkeerds... ik zei alleen dat je beter een switch kan gebruikenNee maar ik ben daar gewoon blij om.
Afbeelding
Wees blij dat ik nu eindelijk eens leer ipv te rippen.
Sanderc schreef:Ja sinds jij er bent, stopt iedereen er mee.Ja, sinds dat ik erbij ben is het zon stuk ongezelliger eh

Sebastiaanh schreef:Ah oke, maar hoe doe ik dat?AfbeeldingEerdere citaten tonen
Sanderc schreef:Nee maar ik ben daar gewoon blij om.
Wees blij dat ik nu eindelijk eens leer ipv te rippen.
We zeggen toch niks verkeerds... ik zei alleen dat je beter een switch kan gebruiken
Patricka schreef:Ja sinds jij er bent, stopt iedereen er mee.Eerdere citaten tonen
Sanderc schreef:Ja, sinds dat ik erbij ben is het zon stuk ongezelliger eh

Sanderc schreef:PHPTuts.nlAh oke, maar hoe doe ik dat?Eerdere citaten tonen
Sebastiaanh schreef:AfbeeldingEerdere citaten tonen
Sanderc schreef:Nee maar ik ben daar gewoon blij om.
Wees blij dat ik nu eindelijk eens leer ipv te rippen.
We zeggen toch niks verkeerds... ik zei alleen dat je beter een switch kan gebruiken
Sanderc schreef:http://bit.ly/KZluDlAh oke, maar hoe doe ik dat?Eerdere citaten tonen
Sebastiaanh schreef:AfbeeldingEerdere citaten tonen
Sanderc schreef:Nee maar ik ben daar gewoon blij om.
Wees blij dat ik nu eindelijk eens leer ipv te rippen.
We zeggen toch niks verkeerds... ik zei alleen dat je beter een switch kan gebruiken

Sanderc schreef:Ik heb trouwens net iets gescript met wat ik al kan wat ik uit een tut heb geleerd.
[COLOR= #0000BB]<?php
$getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is groter aan 10![/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is gelijk aan 10[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is kleiner dan 10[/COLOR][COLOR= #007700];
}[/COLOR]
?>
Ben er fier op.
. heb het namelijk niet uitgeporbeerd 

[COLOR= #0000BB]<?php
$getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is groter aan 10![/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is gelijk aan 10[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is kleiner dan 10[/COLOR][COLOR= #007700];
}[/COLOR]
?> Kingunit schreef:En uitlijning.
[COLOR= #0000BB]<?php
$getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is groter aan 10![/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is gelijk aan 10[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is kleiner dan 10[/COLOR][COLOR= #007700];
}[/COLOR]
?>
.
Sanderc schreef:Het was me aangeleerd zoals het daar stondEerdere citaten tonen
Kingunit schreef:En uitlijning.[COLOR= #0000BB]<?php $getal[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is groter aan 10![/COLOR][COLOR= #007700]; }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is gelijk aan 10[/COLOR][COLOR= #007700]; }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$getal[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Het getal is kleiner dan 10[/COLOR][COLOR= #007700]; }[/COLOR] ?>
.
if() {
} if()
{
} 