Posted by Ian B on 10/23/05 14:47
<?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>
Navigation:
[Reply to this message]
|