Jump to content

Error


june_c21

Recommended Posts

what's wrong ??

 

$id = $_GET['id'];

$query = "SELECT work_id,unit,title1,fault_rep_id,start_date,end_date,secr_recd,facilitator FROM report WHERE id=$id ";

$result = mysql_query($query, $dblink);

while($myrow = mysql_fetch_row($result))

  {

  $work_id = $myrow[0];

  $unit= $myrow[1];

  $title1 = $myrow[2];

  $fault_rep_id = $myrow[3];

  $start_date= $myrow[4];

  $end_date = $myrow[5];

  $secr_recd=$myrow[6];

  $facilitator = $myrow[7];

  }Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

Link to comment
https://forums.phpfreaks.com/topic/78365-error/
Share on other sites

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.