Posted by Ross Hulford on 03/07/05 14:59
if (empty($samosa)){
// do nothing
}
else {
setcookie("cookie[samosa]", "$samosa");
}
if (empty($pakora)){
// do nothing
}
else {
setcookie("cookie[pakora]", "$pakora");
}
It goes on like this for the whole menu I am looking for a more effiecient
way to do this. The inputs are text boxes taking values from 0-9.
Thanks
Ross
[Back to original message]
|