Jump to content

".$_SESSION['s_username']." Problem Please Help!


Warptweet

Recommended Posts

When I use this code...

 

$reply_text = str_replace("<usertag>", "".$_SESSION['s_username']."", $reply_text);

 

It takes my username Warptweet (Because thats what I'm logged in with the session) but I don't want it to translate into my username, I want it to STAY as ".$_SESSION['s_username']." without changing into my username. How can I do this?

 

Thanks for any help!

Link to comment
https://forums.phpfreaks.com/topic/45103-_sessions_username-problem-please-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.