• Post Reply Bookmark Topic Watch Topic
  • New Topic

using the value of a session variable  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Author and ninkuma
Marshal
Posts: 66676
167
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rrn rose", please check your private messages for an important administrative matter.
 
You didn't tell me he was so big. Unlike this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!