By Pushkar Gaikwad on
I know views can easily do it but I want the php code to get the 10 latest nodes published of the content type "page" ? :)
I know views can easily do it but I want the php code to get the 10 latest nodes published of the content type "page" ? :)
Comments
Try this
warning:
warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/mysite/html/includes/database.mysql.inc on line 188.
I am getting this error :(
It works for me. Are you
It works for me. Are you using Drupal 5 or 6?
5.7
5.7