[ic] $db-->query inner join

jimbo jimbo at soundimages.co.uk
Tue Mar 10 15:36:57 UTC 2009


Sam Batschelet wrote:

> my $db = $db{inventory};

If that's how you've written the code, that's incorrect as there is no 
perl object named '$db'.

Try 'my $db = $Db{inventory};' instead.

You'll still need to open both tables in the [perl] tag to make them 
accessible.

[perl tables="inventory variants"]
my $db = $Db{inventory};
# code goes here
[/perl]

jimbo
;-)


-- 
Jim Brewer
Sound Images
12 Whins Close
Camberley
Surrey
GU15 3NW
T +44 (0) 1276 64405
E jimbo at soundimages.co.uk
W http://www.soundimages.co.uk/

------------------------------------------------------------------------
The information in this email is confidential and the contents are not
to be disclosed to anyone other than the addressee, except with their
permission. The opinions expressed represent those of the individual and
not necessarily those of Sound Images. If received in error please
advise the sender and remove from your system.

Sound Images does not guarantee this message, or any attachments, are
free from viruses or other defects.
------------------------------------------------------------------------



More information about the interchange-users mailing list