The problem is as the error says, totalqty is not the name of one of your
form elements, I think infact you want:
echo "Items ordered: " . $totalqty . "\n";
Since the $_POST is just used to read varibles sent to you from a form,
whereas any other varibles you make ie:
$totalqty = $_POST["tireqty"
If you have globals on, then I see your problem. Rename $totalqty to
something else
- Original Message -
From: "Marco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 4:30 AM
Subject: [PHP] Variables problem
> Hi All,
>
> I'm a newbie and try to learn a l
I dont know how good of an idea it is to have 180 variable variable names. oi,
headache. but the question you asked was this.
" $q = 'tar1-1' how do I access the variable $tar1-1 "
no problem
echo $$q;
--
Chris Lee
[EMAIL PROTECTED]
""Per Kallin"" <[EMAIL PROTECTED]> wrote in message
3 matches
Mail list logo