Checkbox Processing Question #2
Posted: Sat Jul 09, 2005 2:49 am
Ok, I am working on a mock order form.
http://www.magicbean.ca/pizza.html
I will try to make this as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putohree checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putoe a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the valu 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't wo
I will try to make this as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putot I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replaand the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putoey want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Puto as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it doesocess the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name mer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
it doesn't work. But when I replace the $small with $size it does work.
What give
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Puto
http://www.magicbean.ca/pizza.html
I will try to make this as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putohree checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putoe a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name rather than the valu 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$priue of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php pageCode: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>I will try to make this as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo &n a mock order form.
[url]http://www.magicbean.ca/pizza.html[/url]
I will try to make this as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php pageCode: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putot I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "e;$price"eer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php pageCode: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "e;$price"e;;}
else{ echo "e; Variable does not exists "
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php pageCode: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Varihat I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php pageCode: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "e;$price"e;;}
else{ echo "e; Variable does not exists "e;;}
?>What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Putoey want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Puto as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not existean.ca/pizza.html[/url]
I will try to make this as clear as possible.
What I am trying to do is have a page process the size of pizza and what toppings the customer would like and have the total on the page ready for the customer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php pageCode: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What gives? Does the isset function need the name mer to submit.
As you can see on the page there's 3 radio buttons in one group and three checkboxes.
The radio buttons name are "size" and the value of each one is "small", "medium", and "large".
What I'm trying to do now is when someone submits what size they want it will show up in the confirm.php page as "small" and "$8.99"
Now when I use this code on the confirm.php page
Code: Select all
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>What give
<?
echo $size;
$price = 8.99;
if(isset($small)){echo "$price";}
else{ echo " Variable does not exists ";}
?>
it doesn't work. But when I replace the $small with $size it does work.
What gives? Does the isset function need the name rather than the value only?
Thank You,
Dr. Puto