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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.