[PHP-DB] Newby variable error

2004-09-15 Thread W Roothman
Wizards, I am VERY new to PHP, paging through Meloni's 'PHP Essentials' I get the following error which I assume is very simple to solve, but for me. I have tried different approaches in identifying the 'price' variable with no luck: error: Notice: Undefined variable: price in

Re: [PHP-DB] Newby variable error

2004-09-15 Thread graeme
Hi, first step in debugging...learn to love the var_dump() function :) just add the following code to the do_calculate.php function ... ?php var_dump ($_POST); echo br; // set up the pricing assignments ... This will display what is held in your $_POST variable. When you run the script at the