Tutorials .........if you know of any

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Tutorials .........if you know of any

Post by crazytopu »

Hello,

Could anybody tell me if somebody has covered the following issues in any online tutorial and if so, I need the link of those tutorials. I serched the net myself, but didnot what I am looking for.


1. I have seen some sites having contents displayed at different location of the page at different times. Like, you hit refresh and the contents have been rearranged on the page. I can understand that the contents are coming from the database, but how do they rearrange the whole body part of the document? Any tutorial?


2. what are the basic rules that appy when making links saved up in a database and consequetly use them in your web pages? Any tutorial you know of that discribe this technique (database driven link) in some details?

Many thanks in advance.
AGISB
Forum Contributor
Posts: 422
Joined: Fri Jul 09, 2004 1:23 am

Post by AGISB »

This topics are basically described in any basic PHP/database tutorial.

Basically PHP works as follows:

The code gets executed before the site is send to the client. So any variables are filled into the body and then send to the client. So everytime you see different content.

Same with databse links. You get them out of the database, fill them in the body and then the site is send to client.
Post Reply