Je weet inmiddels dat ik een Harry potter RPG maak ,en ook een afdelingskamer
Hij moet 4 afdelingen weergeven in een bestand, hij moet van 1 tot 4.
Kan iemand me helpen?
Code:
Hij moet 4 afdelingen weergeven in een bestand, hij moet van 1 tot 4.
Kan iemand me helpen?
Code:
[COLOR= #0000BB]<?php
$sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_result"]mysql_result[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT uAfdeling FROM member_accounts WHERE uId ="[/COLOR] [COLOR= #007700].[/COLOR]
[COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uId[/COLOR][COLOR= #007700]]),[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]4[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]Welkom[/COLOR][COLOR= #007700];
}[/COLOR]
?>