aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes using the value of a session variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "using the value of a session variable" Watch "using the value of a session variable" New topic
Author

using the value of a session variable

rrn rose
Greenhorn

Joined: Apr 14, 2009
Posts: 10
in my website (php , htm l , sql)
i have used the following php code to derive the basename of page



if i am on the page www.test.com/index.php $_SESSION['page'] has the value index.php.

i want to use that value in the '----------- ' html code shown below


how can i do that?
please help
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
How would you write out a php variable to the page? You would do the same thing with php. Write it to the page.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61661
    
  67

"rrn rose", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: using the value of a session variable