| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Soon to be RICHdoggie! Join Date: Jan 2005 Location: UK
Posts: 2,408
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Carrying variables automatically? Hi. I am making a client's website, and I got a bit far and now they want me to be able to change something. (css style) Basically: The whole website runs inside a php page with includes, but when you click a link, it refreshes the page (don't ask... ). What I need is a way to carry a variable ($css) automatically when a link is clicked, otherwise I will have to go back through all the links and update all of them.I don't know how well I have explained my query, but I hope you can understand it! Thanks in advance - Tom |
| |
| | #2 (permalink) | ||||
| Senior Member Join Date: Jun 2003 Location: Naperville Illinois
Posts: 1,786
![]() ![]() ![]() ![]() | If I understand correctly, you could use sessions or cookies. Do a search on google for "php cookies"
__________________
| ||||
| |