Log in

View Full Version : Understand Blog's code



pavmoxo
07-19-2007, 11:19 AM
Hi!!

Anyone can explain me how the blog's select data of a DB. It seems they use some variables ... but how?? I need a similar solution for a site.

Thanks!!

djr33
07-19-2007, 12:56 PM
That's an incredibly vague question, even if you were to specify a particular blog system.

Basically, they search the database for results that match a certain condition, such as being part of a discussion, from a user, from a certain date, or matching a certain ID.

Though the systems are complex, the basic concepts are quite simple from which they are built.

Take a look here, and go through the tutorials, and that should explain most of this:
http://php-mysql-tutorial.com