Re: multiple shopping cart selection
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: multiple shopping cart selection

From: Ian B <ianbambury@gmail.com>
Date: Sun Oct 23 2005 - 13:47:06 CEST

<?php
$msg='Text boxes not set';
if(isset($_GET['txt']))
{
        $msg=implode('--',$_GET['txt']);
}
?>
<html><head><title>Example of how to process multiple data input
lines</title></head><body>

<form>
        <input name="txt[]" type="text" />
        <br />
        <input name="txt[]" type="text" />
        <br />
        <input name="txt[]" type="text" />
        <br />
        <input type="submit" />
        <br />
</form>
<?php echo $msg; ?>
<br />

Regards
<br />
Ian
</body></html>
Received on Mon Oct 24 02:12:00 2005