Undefined Index....
| From: | Todd WIlliamsen | Date: | Fri, 15 Feb 2002 02:07:47 +0000 |
| Subject: | Undefined Index.... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12098@lists.php.net to get a copy of this message | ||
Warning: Undefined index: ReqNum in
c:\inetpub\wwwroot\recruiter\show_job.php on line 25
What does this error mean?
I get it from this code...
$sql = "SELECT ReqNum, Industry, Other, JobTitle, Description, Location,
Notes FROM $jobtable WHERE id = '$id'";
$result = @mysql_query($sql, $connection) or die("Couldn't execute
query.");
while ($row = mysql_fetch_array($result))
$ReqNum = $row['ReqNum']; <=============== LINE 25
$Industry = $row['Industry'];
$Other = $row['Other'];
$JobTitle = $row['JobTitle'];
$Description = $row['Description'];
$Location = $row['Location'];
$Notes = $row['Notes'];
the weird thing is that everything else works, why doesn't it like this
value?