Aarclay schreef:Maar ob_start() mijden is het beste. obs zijn niet voor PHP bedoeld, maar voor vrouwenGeen idee meer, is ook al weer een paar jaar geleden...
Menstruatie-humor

Aarclay schreef:Maar ob_start() mijden is het beste. obs zijn niet voor PHP bedoeld, maar voor vrouwenGeen idee meer, is ook al weer een paar jaar geleden...
Menstruatie-humor

Afbeelding niet beschikbaarDe bron kon niet worden geladen (oi47.tinypic.com).Bron openen ↗<div id="api-client-signup"><form id="reg" name="reg" enctype="application/x-www-
form-urlencoded" action="http://api.main-hosting.com/v-2/client-register" method="post">
<div class="api_input" id="api_email">
<label for="email">Email adres</label><br/>
<input type="text" name="email" id="email" value=""></div>
<label for="first_name">Naam</label><br/>
<input type="text" name="first_name" id="first_name" value=""></div>
<div class="api_input" id="api_last_name">
<label for="last_name">Achternaam</label><br/>
<input type="text" name="last_name" id="last_name" value=""></div> #content {
margin-top:50px;
}
#features .one_third {
background: #fff;
border: 1px solid #ddd;
width:215px;
float:left;
margin-right:30px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0 0 8px #e5e5e5;
-webkit-box-shadow: 0 0 8px #e5e5e5;
box-shadow: 0 0 8px #e5e5e5;
}
#features ul li {
text-align:left;
border-bottom:1px solid #ddd;
line-height:40px;
padding-left:20px;
list-style: url("../images/tick.png") inside;
} Sanderc schreef:Al gekeken bij if statement vs switch?Het is:Eerdere citaten tonen
Ewan schreef:Je tijden kloppen niet
Ochtend: 6:00 - 12:00
Middag: 12:00 - 18:00
Avond: 18:00 - 0:00
Nacht: 0:00 - 6:00
Ja zeg. Dat maakt niet uit
Ik wil gewoon weten welke mannier beter is
[COLOR= #0000BB]<?php
$badge[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$row_badge[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$badge[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$row_badge[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Bestaat niet"[/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]"Bestaat al "[/COLOR][COLOR= #007700];
}[/COLOR] ?> 
#head_bg
{background:url(../images/header_bg.png) repeat-x; width: 100%; height:303px; z-index: 1; top:168px;
margin:0; padding:0; left:0;} Nickjexx schreef:Nu wil ik als de badge 2 keer in de database staat, dus als dit 2 keer bestaat: ACH_testIk heb dit:[COLOR= #0000BB]<?php $badge[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$row_badge[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$badge[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$row_badge[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Bestaat niet"[/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]"Bestaat al "[/COLOR][COLOR= #007700]; }[/COLOR] ?>
Bartv schreef:ik heb t niet zo gemaakt, maar iemand anders, maar kan geen reden meer bedenken wrm ie niet 100% doetwrm werkt dit niet?#head_bg { background:url(../images/header_bg.png) repeat-x; width: 100%; height:303px; z-index: 1; top:168px; margin:0; padding:0; left:0; }
[COLOR= #0000BB]<?php
$text[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Woord"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR]htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$text[/COLOR][COLOR= #007700]))
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]Het bevat rare tekens[/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]Het bevat normale tekens[/COLOR][COLOR= #007700];
}[/COLOR]
?> [COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Goedemorgen, [/COLOR][COLOR= #007700].[/COLOR]htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$text[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]![/COLOR][COLOR= #007700];[/COLOR]
?> Thommity schreef:Bedankt.[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Goedemorgen, [/COLOR][COLOR= #007700].[/COLOR]htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$text[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]![/COLOR][COLOR= #007700];[/COLOR] ?>
Aarclay schreef:Ik zou zeggen: Schrijf het eens fatsoenlijk uit (evenals je posts...)
En wat werkt er niet aan? Zie je een paars scherm, gaat je CD-drive opeens open en dicht...?
Met iets als: werkt niet kunnen we niks.
, me post zijn gewoon goed, mja
(SLIM
)Sanderc schreef:Bedankt.Eerdere citaten tonen
Thommity schreef:[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Goedemorgen, [/COLOR][COLOR= #007700].[/COLOR]htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$text[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]![/COLOR][COLOR= #007700];[/COLOR] ?>