Page 1 of 1

Show record desending order that is more views or much hits

Posted: Wed Dec 28, 2011 12:51 pm
by gazindgi
i want to need a sql quiry to show more view article or much hits record in a database in php scripting

Re: Show record desending order that is more views or much h

Posted: Wed Dec 28, 2011 2:06 pm
by twinedev
Well, first thing would be to know what type of site are you working with? (ex. WordPress, Drupal, Joomla, Custom Built)

-Greg

Re: Show record desending order that is more views or much h

Posted: Wed Dec 28, 2011 2:48 pm
by s.dot
That's not very much information to go on. Can you elaborate? What have you tried?

You will need to build your SQL query and use probably mysql_query() to execute the query from PHP, if you are using a mysql database.