Closed (works as designed)
Project:
Virtual Sites
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2008 at 08:54 UTC
Updated:
24 Dec 2011 at 01:25 UTC
Hello!
I don't understand why my code don't work in Requirement PHP code :
$tid = db_result( db_query( "select t.tid from term_data t inner join term_node tn on t.tid = tn.tid where tn.nid = %d limit 1", $nid));
<?php if ($tid ==3):
return true;
endif
return false;
Can you help me please?
Comments
Comment #1
djg_tram commentedNot likely to be important after all these years, just to be able to close the thread: you have an extra <?php in the middle.
Comment #2
djg_tram commented