Jump to content

[SOLVED] small question about syntax


cluce

Recommended Posts

can someone tell me how I cna add this session into this block of code?  I get error with the session ID.  I am trying to display the ID by name.

	//create the display string
$display_block = "
<p>Showing posts for the <strong>".$topic_title."</strong> topic by .'"$_SESSION['identity']"'.:</p>
<table width=\"100%\" cellpadding=\"3\" cellspacing=\"1\" border=\"1\">
<tr>
<th>POST</th>
</tr>";

Link to comment
https://forums.phpfreaks.com/topic/55479-solved-small-question-about-syntax/
Share on other sites

	//create the display string
$display_block = "
<p>Showing posts for the <strong>". $topic_title. "</strong> topic by '". $_SESSION['identity']. "':</p>
<table width=\"100%\" cellpadding=\"3\" cellspacing=\"1\" border=\"1\">
<tr>
<th>POST</th>
</tr>";

 

I *think* that's what you need.  I didn't understand "I get error with the session ID".

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.