I'm having trouble with the following snippet of code, found here:

http://38.240.49.7/virtual/bowenwhite.com/orders

why is the info showing up blank??

thanks!

Jon Brisbin
www.jbrisbin.net
[EMAIL PROTECTED]

[-
$fdat{'!DataSource'} = "dbi:mysql:dbname";
$fdat{'!Username'} = "user";
$fdat{'!Password'} = "pass";
$fdat{'!Table'} = "orders";
*set = DBIx::Recordset->Search(\%fdat);
-]

<table cellpadding=0 cellspacing=0>
  <tr bgcolor=#dddddd><th width=125>View Info</th><th>Order ID</th></tr>
  <tr>
    [- $rec = $set[$row] -]
    <td align=center>
      <a href="customer.ehtml?cid=[+ $rec->{oCustomer} +]">Customer</a><br>
      <a href="product.ehtml?pid=[+ $rec->{oItemNumber} +]">Product</a><br>
    </td>
    <td>[+ $rec->{oSessionId} +]</td>
  </tr>
</table>

[- $set->Disconnect; -]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to