Your question is not stupid - it's just uninformed, and that's easily
understandable if you never used PHP.

The concept is dynamically creating the page SERVER-SIDE. That is, use some
databases or some nifty code to dynamically build a page using specific
parameters. Unforunately for you, this means that all the fun ends on the server
side. Once PHP ends its job, Apache takes over and serves the content generated
by PHP as it would serve any regular file. What you actually pass to the client
is "dead" information - it's not dynamic unless you echo some JavaScript code or
something similar from PHP (which is the same as writing the respective code in
a regular file, unless you create some custom parameters in JavaScript based on
some other parameters you pass to PHP).

Hope my explanation makes sense... ;-)

Bogdan

tim at 10Kv wrote:

> Hi,
>
> first of all apologise to the list ­ this is a very basic question for you
> Iım sure. I have tried to find an answer on the web but the problem is
> knowing HOW to ask the question ­ and I hoping you can provide me with a
> starting point.
>
> Anyway.. I design a lot of graphic intensive pages which rely heavily on
> layers that contain images, mouseovers and image swaps. The trouble is, when
> there are more than a couple of these layers on a page the code gets long
> and over complicated.  For example, if I have a page which on one side
> contains an image map with 5 clickable points that shows one of 5 possible
> layers on the other side of the page  (each with different content)  this is
> automatically a page with lots of code which is slow to load ­ especially if
> the page already has a layer based navigation bar!
>
> My question is: is there a way to use a language like php to make this
> process easier? For example populate the layers from a different file rather
> than have all the code on the same page and perhaps slim the page down a
> little ­ or is this missing the point of what a language like php is about.
>
> Thanks for your help and my apologies if this is the worst question of the
> week.
>
> Tim Rogers


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to