[TYPO3-dev] Problem with foreign_table_where
Ries van Twisk
typo3 at rvt.dds.nl
Sat May 20 01:01:14 CEST 2006
Bernhard Kraft wrote:
>Ries van Twisk wrote:
>
>
>>'AND pid=###STORAGE_PID### ORDER BY.......'
>>
>>
>>
>
>And to really inhibit any SQL errors you should rather write:
>
>AND pid='###STORAGE_PID###'
>
>
>If no storage PID is set this will result in not causing an errror ...
>
>AND pid= ORDER BY
>
>would be an invalid query.
>
>
>greets,
>Bernhard
>
>
Nice tip. didn't thought of that.....
However, I never liked the idea (old habbit) of putting number in quotes...
Seeya on the channel :)
--
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web: http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web: http://www.livetravelguides.com
More information about the TYPO3-dev
mailing list