Jump to content

[SOLVED] Resource id #335--What is it?


elentz

Recommended Posts

I keep getting this instead of a result of the following code:

$sql3 = "SELECT
          vtiger_invoicecf.cf_546,
          vtiger_invoice.invoiceid
         FROM
          vtiger_invoice
         Inner Join vtiger_invoicecf ON vtiger_invoice.invoiceid = vtiger_invoicecf.invoiceid
         WHERE
        vtiger_invoice.invoiceid = '$myvar'";

$refno=mysql_query($sql3);

// ************* Begin Top-Right Header ***************
// title
$titleBlock=array("147","7");
$pdf->title( "Invoice","", $titleBlock );

//$soBubble=array("168","17","12");
//$pdf->addBubbleBlock($so_name, "Albar�n", $soBubble);

//$poBubble=array("130","17","12");
//$pdf->addBubbleBlock($po_name, " Cust. P.O.", $poBubble);

$wobubble=array("130","17","12");
$pdf->addBubbleBlock($refno,"Work/Quote #",$wobubble);

 

I should get a number for the $refno variable an I keep getting a "Resource id #335" instead.

 

Can someone give me a clue?

 

Thanks alot

Link to comment
https://forums.phpfreaks.com/topic/81984-solved-resource-id-335-what-is-it/
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.