[development] programming question (drupal specific)

Earl Miles merlin at logrus.com
Wed Sep 13 18:02:00 UTC 2006


VJ Rao wrote:
> $nresult = mysql_query('SELECT n.nid, n.body, n.type, n.title,
> n.promote, n.moderate, n.teaser, n.created , n.changed, u.name FROM
> node n , users u,term_node tn, users_roles ur  where  n.uid = u.uid
> AND  n.nid=tn.nid AND u.uid=ur.uid AND n.status = 1 AND n.created >
> $period ORDER BY n.created');

$period won't be expanded because '$period' is literall $period.


More information about the development mailing list