Query: SELECT doc.Id AS DocId,
CONCAT( '/attachment/', IF( doc.DirectoryPath IS NULL, '', CONCAT( doc.DirectoryPath, '/' ) ), doc.Id, '_', doc.FileName ) AS DocPath,
doc.Name AS DocName
FROM attachments as doc
WHERE doc.Id IN (SELECT AttachmentId FROM node_document WHERE NodeId = ) failed. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 5
(mysqli): SELECT doc.Id AS DocId,
CONCAT( '/attachment/', IF( doc.DirectoryPath IS NULL, '', CONCAT( doc.DirectoryPath, '/' ) ), doc.Id, '_', doc.FileName ) AS DocPath,
doc.Name AS DocName
FROM attachments as doc
WHERE doc.Id IN (SELECT AttachmentId FROM node_document WHERE NodeId = )
1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 5 - Hungarian Review
Volume X., No. 1. This issue was partly sponsored by NKA
You have to log in or registrate for writing comments.