note 127873 added to function.apache-note

From: Date: Sun, 30 Oct 2022 13:39:48 +0000
Subject: note 127873 added to function.apache-note
Groups: php.notes 
Request: Send a blank email to php-notes+get-219828@lists.php.net to get a copy of this message
<!DOCTYPE html> <html lang="nl"> <head> <title> zet hier de titel neer </title> <meta charset="utf-8"> </head> <body> <fieldset> <?php include ("includes/functions.php"); boven(); ?> </fieldset> <?php // Checkt of er gepost is if(!empty($_POST)){ $array = array("aardbei", "abrikoos", "appel", "druiven", "kiwi", "peer", "perzik", "sinaasappel"); foreach($array as $fruit){ if ($_POST[$fruit]){ print "<fieldset>"; print "<h1>Dit is een " . $fruit . "</h1><br>"; print "<img src=images/" . $fruit . ".jpg>"; print "</fieldset>"; } } // zet hier je php script neer. } else{ ?> <form name="form1" method="post" action="<?php echo $_SERVER["PHP_SELF"] ?> "> <fieldset> <legend>Vruchten</legend> <input type="checkbox" name="aardbei" id="">aardbei<br> <input type="checkbox" name="abrikoos" id="">abrikoos<br> <input type="checkbox" name="appel" id="">appel<br> <input type="checkbox" name="druiven" id="">druiven<br> <input type="checkbox" name="kiwi" id="">kiwi<br> <input type="checkbox" name="peer" id="">peer<br> <input type="checkbox" name="perzik" id="">perzik<br> <input type="checkbox" name="sinaasappel" id="">sinaasappel<br> <p> <input type="submit" value="bereken" name="send"> </p> </fieldset> <?php } /* sluit hier je php else lus af waar het formulier in staat af.*/ ?> <fieldset> <?php onder(); ?> </fieldset> </body> </html> ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 83.128.79.88) ---- Manual Page -- https://php.net/manual/en/function.apache-note.php Edit -- https://main.php.net/note/edit/127873 Del: integrated -- https://main.php.net/note/delete/127873/integrated Del: useless -- https://main.php.net/note/delete/127873/useless Del: bad code -- https://main.php.net/note/delete/127873/bad+code Del: spam -- https://main.php.net/note/delete/127873/spam Del: non-english -- https://main.php.net/note/delete/127873/non-english Del: in docs -- https://main.php.net/note/delete/127873/in+docs Del: other reasons-- https://main.php.net/note/delete/127873 Reject -- https://main.php.net/note/reject/127873 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219828) next »