Line 20 is
[php]echo ‘’ . $name . ‘(’ . $total . ‘)’;[/php]
That’s calling the index.php, not the buyproducts.inc.php page.
Line 20 is
[php]echo ‘’ . $name . ‘(’ . $total . ‘)’;[/php]
That’s calling the index.php, not the buyproducts.inc.php page.
The php calls the index page because I am using css…the index page consists of a header, a footer, a nav page and a ‘main’ center section. All the ‘calls’ will be index?someotherpage to fill in the middle section.
Thanks!
All the information you are getting through GET Method will be lost because I haven’t seen any code on the index page that can handle GET requests.
You need to have a validation code on the index page that checks the query string and then renders a different page accordingly.