PDA

View Full Version : complete and utter newbie.. (don't laugh!)


Ewan
01-15-2003, 01:55 PM
Hello,

Looking for some general info..
I'm aiming to create a php database driven site.

I want to add a header section to each page. Does this 'header' simply exist as a php page in my site folder? Drawn as a 'php include', with its graphics, on to each page of the site?
(Therefore, not having anything to do with tables, or my database).

i.e. does only the data for my interactive pages, e.g. web update-able sections and bulletin boards, reside in tables in my database?
(Graphics and images drawn from my site folder as normal.)

Hope some one can put me right!

Ewan

efc
01-15-2003, 03:09 PM
It can be either one or even a mixture of both! :D

A php header file can exist of plain HTML with graphics etc. Also, a php header can be more complex and use PHP to dynamically create the header from a database.

Its all down to what you want to do yourself. Start with a static HTML one and go on from there if you need a more complex solution.

BTW, phpdev is also another good pre-compiled PHP development environment for your PC.

HTH.

PS - I think this topic has been covered in another thread before - try doing a search on header in the PHP (this!) forum.

Ewan
01-15-2003, 04:12 PM
onwards and upwards i go..

thanks for the php development tool suggestions..
(I've got Apache and mysql configured as a test server on my laptop with mysql admin. When I've finished, is it simply a case of 'uploading' my database from my local mysql admin to valuehosts mysql admin?)

Many thanks,
Ewan

:cool: