Jump to content

Variable not showing


Recommended Posts

No. Need more information. Are you sure it has a value? What does print_r($row_rsworkorders1); show for the value of the array index ['intraartapproval']? Have you tried testing it for a value using a conditional of any kind before trying to output it?

$row_rsworksorders1['intraartapproval'] prints my value fine,

 

$query_rsworksorders1 = "SELECT worksorders.intrajobno, worksorders.intratype, worksorders.intrastatus, worksorders.intracustomer, worksorders.intradescription, worksorders.intraorder, worksorders.intraartapproval, worksorders.intraestimatedinstall, worksorders.intraprio, worksorders.intrajobvalue, worksorders.intraterms, worksorders.intrajobref, worksorders.id, worksorders.intradelete FROM worksorders WHERE {$NXTFilter_rsworksorders1} AND worksorders.intradelete != 1 ORDER BY {$NXTSort_rsworksorders1}";
$rsworksorders1 = mysql_query($query_rsworksorders1, $intra_conn) or die(mysql_error());
$row_rsworksorders1 = mysql_fetch_assoc($rsworksorders1);
$totalRows_rsworksorders1 = mysql_num_rows($rsworksorders1);

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.