how to force drupal function to not use DB cache?
- by Alaa
Hi All,
i have a module and i am using node_load(array('nid' = arg(1)));
now the problem is that this function keep getting its data for node_load from DB cache.
how can i force this function to not use DB cache?
Example
my link is http://mydomain.com/node/344983
now:
$node=node_load(array('nid'=arg(1)),null,true);
echo $node-nid;
output
435632
which is a randomly node id (available on the system)
and everytime i ctrl+F5 my browser i get new nid!!
Thanks for your help