Hi there..

i think it a noob task, but i can't resolve it by myself.. I need a snippet to print node titles for nodes with specific type and specific value in the fileld, created with cck.

Query in English looks like "Select nid from node where nodetype = 'nodetype' and cck_field_value = 'value'

How to translate this to SQL and PHP?

THX IN ADVANCE!!!

Comments

nevets’s picture

Have you tried using the views module?

konst.vinogradov’s picture

in this case i need to send the value for comparison to views. it's dynamic and depends on current page..

sorry for my english
it's undersandable, i hope..

bibstha’s picture

Subscribing..