Jump to content

Undefined index: check in C:\wamp\www\abc\dashboard\Status_New.php on line 69


Recommended Posts

.....OTHER LOC......

while($row = mysql_fetch_array($result))

  {

  echo "<tr>";

  echo "<td><input name='check' type='checkbox' value='$row[tp_id]'>" . $row['tp_id'] . "</td>";

  if($_POST['check'] == "ON") //ERROR LINE HERE

  {

 

$query="UPDATE job_info SET $sel_tp=$row[tp_id]";

$sel_tp = $sel_tp + 1;

while($sel_tp>5)

echo("You have selected more than 5 Tradespersons");

  }

  echo "<td>" . $row['email'] . "</td>";

  echo "<td>" . $row['Rating'] . "</td>";

  echo "</tr>";

  }

.....OTHER LOC....

WHY DOE IT SAY THAT 'CHECK' IS UNDEFINED WHEREAS I HAVE USED IT AS A NAME OF A CHECKBOX????

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.