fanfavorite
IS-IT--Management
Hi guys,
I have this script that I am trying to do and I am having problems with it. It's an order page in html that calls on a formmail script and this script I'm trying to modify. I put my script in a text document for you guys to view at The order page
is located at I just need help with an if statement or possibly another solution to make sure that only the items bought are the ones that show up in the list. I simplified it to only 2 items to make things easier. I know the tax, shipping and total are off, but I know how to fix that. I just need to know the proper procedure for if statements in perl.
I tried:
if ($in{quantity}) != 0 {
print "<tr valign=top>\n";
.....
etc
}
But this wouldn't work. What am I doing wrong?
-John C.
I have this script that I am trying to do and I am having problems with it. It's an order page in html that calls on a formmail script and this script I'm trying to modify. I put my script in a text document for you guys to view at The order page
is located at I just need help with an if statement or possibly another solution to make sure that only the items bought are the ones that show up in the list. I simplified it to only 2 items to make things easier. I know the tax, shipping and total are off, but I know how to fix that. I just need to know the proper procedure for if statements in perl.
I tried:
if ($in{quantity}) != 0 {
print "<tr valign=top>\n";
.....
etc
}
But this wouldn't work. What am I doing wrong?
-John C.