note 102941 added to function.imagecolorsforindex
| From: | ditiseenrarevraag at live dot com | Date: | Tue, 15 Mar 2011 16:31:11 +0000 |
| Subject: | note 102941 added to function.imagecolorsforindex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177914@lists.php.net to get a copy of this message | ||
<html>
<body>
Ik kan voor jou de tafel geven.<BR>
Vul een getal in en zeg tot hoever ik moet gaan (tot 10 x of to 30 x of tot .....)
<form name="input" action="<?php echo
$_SERVER['PHP_SELF'];?>" method="post">
De tafel van: <input type="text" name="tafel" /><BR>
De tafel moet gaan tot: <input type="text" name="aantal" />
<input type="submit" name="versturen" value="Submit" />
</form>
<hr/>
</body>
</html>
<?php
if (!empty($_POST['tafel']) && !empty($_POST['aantal']))
{
$tafel = $_POST['tafel'];
$aantal = $_POST['aantal'];
echo "De tafel van $tafel is:\n<BR><BR>";
for ($i=1;$i<=$aantal;$i++)
{$uitkomst=$i*$tafel;
echo "$i x $tafel = $uitkomst\n<BR>";
}
echo "<BR>Dit is een rij van $aantal regels.";
}
else {
if (isset($_POST["versturen"])) {
echo "<B>Je moet wel een tafel invullen en tot hoever die tafel moet
gaan!</B>\n<br>";
}
}
?>
----
Server IP: 91.199.167.223
Probable Submitter: 85.151.56.93
----
Manual Page -- http://www.php.net/manual/en/function.imagecolorsforindex.php
Edit -- https://master.php.net/note/edit/102941
Del: integrated -- https://master.php.net/note/delete/102941/integrated
Del: useless -- https://master.php.net/note/delete/102941/useless
Del: bad code -- https://master.php.net/note/delete/102941/bad+code
Del: spam -- https://master.php.net/note/delete/102941/spam
Del: non-english -- https://master.php.net/note/delete/102941/non-english
Del: in docs -- https://master.php.net/note/delete/102941/in+docs
Del: other reasons-- https://master.php.net/note/delete/102941
Reject -- https://master.php.net/note/reject/102941
Search -- https://master.php.net/manage/user-notes.php