开发者

Is there a way to incude style in a php session?

I have a menu that scrolls down and will let you select what color you want for the background, but its only for one page, is there a way to include the style of the page near the beginning of th开发者_StackOverflow中文版e session so that it will go for all pages?


Are you using a PHP session at the moment? The call to change the colour of the background should set a session variable. Any pages being displayed should check the session to see if that variable is present.

Have a look at http://www.php.net/manual/en/session.examples.basic.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜