lennyhepner
asked on
how do i get certain values to "print"???? !!!!!500 points!!!
I am having much trouble with a PHP page a friend made for me. Its an order form and some values do not print out onto the next page. please take a look at the page http://www.johnhestertextiles.com/schoolroom/schoolorderform.php It doesnt print the final price and the name, address phone number ETC... after you hit the finalize button, much help is needed!!! please! thank you very much!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
sorry for the delay, i have the source code at http://www.johnhestertextiles.com/schoolroom/schoolorderform.txt
It´s pretty hard for ya to just trow a problem with this complexity and just expect any answer (that is not the source code page, you have to create a phps page or put a <pre> I think between the start and the end of your code </pre>).... but I will help you with the logic that is the first step...
You have to post to the same page and do a error check....
then once you have that working do a...
//or if(!$_POST['navy']){ whatever works best...
if ($_POST['navy']){
$navyvalue = '10';
$totalvalue = '10';
}
You have to post to the same page and do a error check....
then once you have that working do a...
//or if(!$_POST['navy']){ whatever works best...
if ($_POST['navy']){
$navyvalue = '10';
$totalvalue = '10';
}
that is the source code, you just have to do view source.. copy this to IE: view-source:http://www.johnhestertextiles.com/schoolroom/schoolorderform.txt
loz
loz
This form seems to be working now. Do you still need help?
My solution provided the proper method on how to print out any $_POST vars after the form submission.
loz