Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A problem with return_page_slug() function
#1
as a title,i have a problem with return_page_slug() function during a plugin development.When i use return_page_title(); on a session variable,for example:

$_SESSION['name']=return_page_title();

it works correctly because if i print this variable from another php file it appear

when i do:

$_SESSION['name']=return_page_slug();

it doesn't work because if i print this variable from another php file it doesn't appear but on the same php file it appear.

it's a strange problem,anybody can help me?
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#2
I solved the problem by myself.
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#3
$_SESSION['name']= "' . return_page_title(FALSE); .'"
Reply




Users browsing this thread: 1 Guest(s)