Hello Alex!
Can wwe get the categoryID from MySQL instead of Perl? for e.g.
if ($table eq 'Links') {
foreach $record{'CategoryID'} !~ = /^\d*$/) {
$record{'CategoryID'} = qw!
SELECT * FROM ID.Category, Name.Category
WHERE Name.Category = '($record{'CategoryID'});'
return $ID.Category
!}
}
I do not know the syntax error and I have never tried the above.
[This message has been edited by rajani (edited October 19, 1999).]
Can wwe get the categoryID from MySQL instead of Perl? for e.g.
if ($table eq 'Links') {
foreach $record{'CategoryID'} !~ = /^\d*$/) {
$record{'CategoryID'} = qw!
SELECT * FROM ID.Category, Name.Category
WHERE Name.Category = '($record{'CategoryID'});'
return $ID.Category
!}
}
I do not know the syntax error and I have never tried the above.
[This message has been edited by rajani (edited October 19, 1999).]