hey,
maak van:
http://rogier.one2xs.com/test/testen2.php
een formule, en verwerk die in php.
prijzenpot: 3 pnt
Het is blijkbaar erg moeilijk. hier wat hulp.
http://rogier.one2xs.com/test/testen.php
Je moet zelf dus nog een $a maken en deze de goeie waarde geven.
maak van:
http://rogier.one2xs.com/test/testen2.php
een formule, en verwerk die in php.
prijzenpot: 3 pnt
Het is blijkbaar erg moeilijk. hier wat hulp.
<link rel="stylesheet" type="text/css" href="/test/style.css">
<table border="1px">
<tr>
[COLOR= #0000BB]<?php
$xx[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/for"]for[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$b[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$b[/COLOR] [COLOR= #007700]<=[/COLOR] [COLOR= #0000BB]2000[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$b[/COLOR][COLOR= #007700]++)
{[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$xx[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]9[/COLOR][COLOR= #007700])
{[/COLOR]
?>
<td class=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$a[/COLOR]?>>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$b[/COLOR] ?>
</td>
[COLOR= #0000BB]<?php
$xx[/COLOR][COLOR= #007700]++;
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
?>
<td class=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$a[/COLOR]?>>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$b[/COLOR] ?>
</td>
</tr>
<tr>
[COLOR= #0000BB]<?php
$xx[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];
}
}[/COLOR]
?>
</table> table
{
border: 1px;
}
td
{
height: 30px;
width: 50px;
text-align: center;
}
.bleu
{
background-color: #109af2;
}
.red
{
background-color: #f42e2e;
}
.green
{
background-color: #4ff42e;
}
.orange
{
background-color: #f28510;
} http://rogier.one2xs.com/test/testen.php
Je moet zelf dus nog een $a maken en deze de goeie waarde geven.


.
