php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37852 Varriable problems
Submitted: 2006-06-19 19:42 UTC Modified: 2006-06-19 19:46 UTC
From: danielk at panafonet dot gr Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.1.4 OS: Windows, XP
Private report: No CVE-ID: None
 [2006-06-19 19:42 UTC] danielk at panafonet dot gr
Description:
------------
? am reading the book ?PHP & MYSQL Web Development" 3d Edition,of Luke Welling & Laura Thomson.
The example of chapter One has the files orderform.html & processorder.php.
The form action of ordderform.html is:
form action="processorder.php" method="post">.

Reproduce code:
---------------
In the beggining of processorder.php file there is:
<?php
  // ?????????? ???????? ???????? ?????????? 
  $tireqty = $_POST['tireqty'];
  $oilqty = $_POST['oilqty'];
  $sparkqty = $_POST['sparkqty'];
  $find = $_POST['find'];
?>

An in the continue there is:
   echo $tireqty.' tires<br />';
   echo $oilqty.' bottles of oil<br />';
   echo $sparkqty.' spark plugs<br />';

Expected result:
----------------
As I load the processorder.php file in my browser, I expect that the script output should resemble the actual values, depend on what I typed into the orderform.html.

Actual result:
--------------
I see in my browser all, exept the actual values.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-19 19:46 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 15:01:32 2024 UTC