OK...I admit I'm new at this....I have this html file:
<html>
<head>
<title>Generate pdf file of LD, Toll Free, and Directory Assistance calls</titl
</head>
<body>
<form action="Q:\ASTERISK\callrecs.php" method="post">
 <p>Account Number: <input type="text" name="acctnum" ></p>
 <p>Year (4 digit): <input type="text" name="billyear" ></p>
 <p>Month (2 digit): <input type="text" name="billmonth" ></p>
 <p><input type="submit" /></p>
</form>
</body>
</html>

to which I would input an account number, 4 digit year, then 2 digit month.
Then click Submit.
 
What I see in the error log is:
[06-Jan-2012 11:42:21] PHP Notice:  Undefined index:  acctnum 
[06-Jan-2012 11:42:21] PHP Notice:  Undefined index:  billyear
[06-Jan-2012 11:42:21] PHP Notice:  Undefined index:  billmonth
 
where line numbers point othe the following php lines:
$who=$_POST["acctnum"];
$year_to_process=$_POST["billyear"]; ;
$month_to_process= $_POST["billmonth"];
 
 
WHAT AM I DOING WRONG ?
David
 

Reply via email to