<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    
    <channel>
    
    <title>ExpressionEngine Community Forums</title>
    <link>http://expressionengine.com/forums/</link>
    <description>ExpressionEngine Community Forums</description>
    <dc:language>en</dc:language>
    <dc:rights>Copyright 2008</dc:rights>
    <dc:date>2008-07-09T01:56:36-06:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.pmachine.com/" />
    

    <item>
      <title>MSM Question</title>
      <link>http://expressionengine.com/forums/viewthread/84567/</link>
      <guid>http://expressionengine.com/forums/viewthread/84567/#When:23:42:39Z</guid>
      <description>&lt;p&gt;During MSM setup, I just duplicated a weblog that I realized I didn&#8217;t really need in my second site.&amp;nbsp; Am I able to delete this weblog from my weblog preferences in my second site and not have it affect my main weblog?&amp;nbsp; Or will that weblog also be deleted from my main site if I delete in my second site weblog preferences?
&lt;/p&gt;
&lt;p&gt;
Not sure if that&#8217;s clear enough.&amp;nbsp; Let me know if it isn&#8217;t.
&lt;/p&gt;
&lt;p&gt;
Thanks!
&lt;/p&gt;</description>
      <dc:date>2008-07-08T23:42:39-06:00</dc:date>
    </item>

    <item>
      <title>Copying text from word into EE, formatting special characters</title>
      <link>http://expressionengine.com/forums/viewthread/84551/</link>
      <guid>http://expressionengine.com/forums/viewthread/84551/#When:19:34:59Z</guid>
      <description>&lt;p&gt;If you copy text from word, straight into EE, it doesn&#8217;t format quote marks, apostrophes, and other symbols correctly.&amp;nbsp; They output as a load of random text. Is there anyway to convert text so that it correctly turns symbols like £ into &amp;pound;, and &amp;amp; into &amp;amp;etc?
&lt;/p&gt;
&lt;p&gt;
I don&#8217;t mind if it involves copying it into a free notepad style program before copying it into EE.
&lt;/p&gt;</description>
      <dc:date>2008-07-08T19:34:59-06:00</dc:date>
    </item>

    <item>
      <title>List Recent Comments that Are Not from the Author</title>
      <link>http://expressionengine.com/forums/viewthread/84497/</link>
      <guid>http://expressionengine.com/forums/viewthread/84497/#When:08:26:08Z</guid>
      <description>&lt;p&gt;Is there a way to do this? I currently have the last four comments listed on my home page, linking to their respective posts. I can remove my own comments from this list easy enough by using the following code&#8230;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;if author_id &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&#125;Show the comment here&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;if&#125;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
The problem is that this reduces the comment count. For example, if I list the last four comments, and two of them are my own, it will actually only list two (omitting my two).
&lt;/p&gt;
&lt;p&gt;
Tried the following, but I don&#8217;t think this is a parameter:
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;comment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries sort&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;desc&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;orderby&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;date&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;author_id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;not 1&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;limit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;4&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dynamic&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;off&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;main&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Anyone know a way around this?
&lt;/p&gt;</description>
      <dc:date>2008-07-08T08:26:08-06:00</dc:date>
    </item>

    <item>
      <title>Generating dynamic title in SAEF</title>
      <link>http://expressionengine.com/forums/viewthread/84563/</link>
      <guid>http://expressionengine.com/forums/viewthread/84563/#When:22:36:48Z</guid>
      <description>&lt;p&gt;Hello,
&lt;/p&gt;
&lt;p&gt;
I&#8217;ve set up an SAEF for a client that will allow members (saw mills) to submit product details about items in their inventories (not for sale online, so just getting submitted to a regular weblog). I&#8217;m passing the title as a hidden field, and would like to use the following format:
&lt;/p&gt;
&lt;p&gt;
mill&#8217;s acronym+tree species+random number ... or more specifically
&lt;/p&gt;
&lt;p&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;title&quot; value=&quot;&#123;m_field_id_1&#125;&#123;species&#125;X&quot; /&amp;gt; 
&lt;/p&gt;
&lt;p&gt;
and have been struggling with the best approach to do this. 
&lt;/p&gt;
&lt;p&gt;
1. I was hoping to set the mill&#8217;s acronym by hard coding the custom field (&#123;m_field_id_1&#125;) I&#8217;d created for the member registration template. This part works up until when I&#8217;m trying to retrieve the value for the member on the SAEF. The logic of what I&#8217;m trying to do is as follows, where &#123;member_id&#125; is that of the member submitting the form.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;query sql&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT * FROM exp_member_data WHERE member_id = &apos;&#123;member_id&#125;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;input type&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;hidden&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;title&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;m_field_id_1&#125;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;query&#125;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
This code doesn&#8217;t generate anything though. I tested by using member_id=&#8217;5&#8217; and the &#123;m_field_id_1&#125; was successfully retrieved.
&lt;/p&gt;
&lt;p&gt;
2. The tree species is one of the other fields on the SAEF, and after much hunting around, it seems like there are a couple ways to do this. Javascript to populate the title part on submit, or an extension perhaps? I&#8217;m not well&#45;versed in either so am struggling with what approach to even take.
&lt;/p&gt;
&lt;p&gt;
3. Random number: This is mainly to ensure a unique title to simplify locating info in the Edit view of the CP. Something like how the url_title is automatically incremented would be great. But how?
&lt;/p&gt;
&lt;p&gt;
How would you go about this? Or any advice for another approach?
&lt;/p&gt;
&lt;p&gt;
Thanks!
&lt;/p&gt;</description>
      <dc:date>2008-07-08T22:36:48-06:00</dc:date>
    </item>

    <item>
      <title>Possible to call variable belonging to parent weblog from within &#123;related_entries&#125; tag</title>
      <link>http://expressionengine.com/forums/viewthread/84557/</link>
      <guid>http://expressionengine.com/forums/viewthread/84557/#When:21:10:18Z</guid>
      <description>&lt;p&gt;I&#8217;m interested in establishing a weblog relationship between a team schedule and game scores for each contest that is defined within the team schedule. 
&lt;/p&gt;
&lt;p&gt;
The goal being that once a game is complete and it&#8217;s details have been entered in a weblog entry (weblog scoreboard) a link is displayed within the schedule templte that provides users a means of viewing that information.
&lt;/p&gt;
&lt;p&gt;
I&#8217;m curious if anyone knows if it&#8217;s possible to call a custom field variable belonging to a parent weblog from within a &#123;related_entries&#125; tag?
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;team_schedule&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;limit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;5&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;title&#125;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// some custom field output&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;related_entries id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;scoreboard&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&#123;if no_related_entries&#125;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;vs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;Team_Name&#125;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//variable defined in parent weblog &quot;team_schedule&quot; ?&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;if&#125;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;permalink to scoreboard entry for related schedule entry&#125;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;vs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;Team_Name&#125;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//send users to scoreboard if entry exists for this game date&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;related_entries&#125;&lt;br /&gt;&lt;br /&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries&#125;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Or, does every variable called from within a &#123;related_entries&#125; tag need to belong to the related weblog?
&lt;/p&gt;
&lt;p&gt;
I hope I&#8217;m making sense.
&lt;/p&gt;</description>
      <dc:date>2008-07-08T21:10:18-06:00</dc:date>
    </item>

    <item>
      <title>Categories not working how I want</title>
      <link>http://expressionengine.com/forums/viewthread/84454/</link>
      <guid>http://expressionengine.com/forums/viewthread/84454/#When:23:54:42Z</guid>
      <description>&lt;p&gt;I&#8217;ve got the following code set up to list a set of services using a weblog. Each service is it&#8217;s own category. When viewing the page without specific categories it lists each entry with a short summary and links to the complete entry. It should display only that entry (there is only one entry per category).
&lt;/p&gt;
&lt;p&gt;
This works fine with the code below, but when I add &lt;b&gt;category=&quot;not 234&#8221;&lt;/b&gt; to the weblog:entries tag, the linked pages now display every entry in it&#8217;s entirety. Category 234 is my front copy &#45; entries that get displayed on the front of the site. with the working code I get front copy listed on the services page.
&lt;/p&gt;
&lt;p&gt;
How can I fix this?
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;CsWebDesign&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;limit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;50&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;disable&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;member_data|pagination|trackbacks&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;orderby&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;title&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;sort&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;asc&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uncategorized_entries&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;n&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;title&#125;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;if segment_4 &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&#123;categories&#125;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;trunchtml chars&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;150&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;inline&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;_... &amp;lt;a href=&apos;&#123;path=createsean/services&#125;&apos;&amp;gt;read on&amp;lt;/a&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;categories&#125;&lt;br /&gt;&#123;cs_body&#125;&lt;br /&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;trunchtml&#125;&lt;br /&gt;&#123;if&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;else&#125;&lt;br /&gt;&#123;cs_body&#125;&lt;br /&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;if&#125;&lt;br /&gt;&lt;br /&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries&#125;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;</description>
      <dc:date>2008-07-07T23:54:42-06:00</dc:date>
    </item>

    <item>
      <title>Help with PHP sessions please!!</title>
      <link>http://expressionengine.com/forums/viewthread/53102/</link>
      <guid>http://expressionengine.com/forums/viewthread/53102/#When:10:33:14Z</guid>
      <description>&lt;p&gt;Hi there,
&lt;/p&gt;
&lt;p&gt;
Unfortunately I am close to taking a pen and stabbing it into my hand at the moment as I have just spent the last few days trying to figure something which I&#8217;m sure should be fairly easy but which is driving me absolutely nuts!!
&lt;/p&gt;
&lt;p&gt;
I need to be able to use the standard PHP sessions code so that I can pass some data between pages for use in a weblog query. I cannot put the information into the segments of the URL because this is going to be used for hidden data that only certain people can gain access to so the operation of how it all works needs to be hidden so that no&#45;one could just tack on different URL endings and get all the information that they want.
&lt;/p&gt;
&lt;p&gt;
What I have so far is this :
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Start the PHP session going&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;session_start&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Create our arrays to hold the data&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry_id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=array();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$download_type&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=array();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Find out the logged in users member id using $SESS&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;global &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$SESS&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$your_id &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$SESS&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&#45;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;userdata&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;member_id&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;query sql&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT entry_id, download_type FROM member_group_access WHERE (member_id = &apos;&amp;lt;?php echo $your_id;?&amp;gt;&apos;)&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// This next line spits out the current count using the &#123;count&#125; variable available to us from the expression engine query tag&lt;br /&gt;// This will increment for each result&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Current count is &apos;&#123;count&#125;&apos; &amp;lt;br /&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$array_count &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;count&#125;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Add the recursive data into the arrays&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry_id&#91;$array_count&#93;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;entry_id&#125;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$download_type&#91;$array_count&#93;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;download_type&#125;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Print out the values to see that they are going in to the session arrays correctly&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;foreach(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;entry_id&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;The value of $_SESSION&#45;entry_id&#91;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&#93; is &apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &amp;lt;br /&amp;gt;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;foreach(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;download_type&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;The value of $_SESSION&#45;download_type&#91;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&#93; is &apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &amp;lt;br /&amp;gt;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;br /&gt;&#123;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;songs&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entry_id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;entry_id&#125;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#123;path=&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;arrays&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;two&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;count&#125;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#125;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;title&#125;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;br &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;weblog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;entries&#125;&lt;br /&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;exp&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;query&#125;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Create the session variables using the arrays as the content&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;entry_id&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry_id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;download_type&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$download_type&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;foreach(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;entry_id&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;The value of $_SESSION&#45;entry_id&#91;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&#93; is &apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &amp;lt;br /&amp;gt;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;foreach(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;download_type&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;The value of $_SESSION&#45;download_type&#91;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&#93; is &apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &amp;lt;br /&amp;gt;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;?&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
This renders in a browser like &lt;b&gt;(image:Output.jpg)&lt;/b&gt; attached to this post.
&lt;br /&gt;
As you can see from the image the &lt;b&gt;&#123;count&#125;&lt;/b&gt; variable from the EE query is working properly and then it is adding in the two different sets of data for each entry to the array in the session.
&lt;/p&gt;
&lt;p&gt;
The problem is that for some reason none of this data is actually staying in the session variable. When I went to &lt;b&gt;arrays/two&lt;/b&gt; which is a page that I set up that just spits out the session variables to show if they indeed went in there is nothing there as shown in &lt;b&gt;(image:Output 2.jpg)&lt;/b&gt;
&lt;/p&gt;
&lt;p&gt;
That is why I then placed the :
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;foreach(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;entry_id&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;The value of $_SESSION&#45;entry_id&#91;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&#93; is &apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &amp;lt;br /&amp;gt;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;foreach(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SESSION&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;download_type&apos;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#123;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;The value of $_SESSION&#45;download_type&#91;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos;&#93; is &apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&apos;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&apos; &amp;lt;br /&amp;gt;&apos;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#125;&lt;br /&gt;?&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
code outside of everything on the first page just to see if the data stays in the session and it isn&#8217;t!!
&lt;/p&gt;
&lt;p&gt;
So to sum up and to say sorry for the very very long post which may confuse a lot of people although you want to see where my head is at the moment and then think you are confused!! &lt;img src=&quot;http://ellislab.com/images/smileys/grin.gif&quot; width=&quot;19&quot; height=&quot;19&quot; alt=&quot;grin&quot; style=&quot;border:0;&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
Basically what I want to be able to do is pass along two arrays using PHP sessions which contain a set of &lt;b&gt;entry_id&lt;/b&gt;&#8216;s and a &lt;b&gt;download_type&lt;/b&gt;&#8216;s and then when going to the next page &#45; &lt;b&gt;arrays/two/1&lt;/b&gt; where the &lt;b&gt;&#8216;1&#8217;&lt;/b&gt; is the same number as was in the current query count then the page will bring back the session data at that point in the array and then I can use this on the second page inside a weblog tag to spit out a certain entry.
&lt;/p&gt;
&lt;p&gt;
This way only people who have access (governed by the rows of data in the member_group_access table) to a certain entry will be able to see the data and users won&#8217;t just be able to change a URL segment to get what they want.
&lt;/p&gt;
&lt;p&gt;
Hopefully some of this made sense to someone somewhere.
&lt;/p&gt;
&lt;p&gt;
Sorry again for the massive post but I am I&#8217;m sure pretty much there but the last little bit is just giving me such a headache and I have been shuffling code around for days now and nothing seems to want to work. :&#45;(
&lt;/p&gt;
&lt;p&gt;
Thanks in advance for any help on this.
&lt;/p&gt;
&lt;p&gt;
Regards,
&lt;/p&gt;
&lt;p&gt;
Mark
&lt;/p&gt;</description>
      <dc:date>2007-05-27T10:33:14-06:00</dc:date>
    </item>

    <item>
      <title>Migrate from Drupal to EE</title>
      <link>http://expressionengine.com/forums/viewthread/84507/</link>
      <guid>http://expressionengine.com/forums/viewthread/84507/#When:10:03:19Z</guid>
      <description>&lt;p&gt;I have a Drupal site with over 400 blog entries (some with embedded photos) that I need to export in MT import format, in preparation to import into EE. 
&lt;/p&gt;
&lt;p&gt;
Has anyone done this recently? Did you find any helpful tools? 
&lt;/p&gt;
&lt;p&gt;
The &lt;a href=&quot;http://expressionengine.com/wiki/Migrate_to_EE&quot;&gt;migrate to EE page&lt;/a&gt; doesn&#8217;t mention Drupal. Regrettably, I am not handy enough with scripts to crank out my own. I&#8217;m dreading doing this as a cut and paste operation, but I suppose I will if I have to!
&lt;/p&gt;
&lt;p&gt;
Thank you for any guidance you can provide.
&lt;/p&gt;
&lt;p&gt;
Alix
&lt;/p&gt;</description>
      <dc:date>2008-07-08T10:03:19-06:00</dc:date>
    </item>

    <item>
      <title>Couple of Wiki Questions</title>
      <link>http://expressionengine.com/forums/viewthread/84249/</link>
      <guid>http://expressionengine.com/forums/viewthread/84249/#When:03:55:37Z</guid>
      <description>&lt;p&gt;1) Is it possible to add in a row of formatting buttons to the wiki, such as you have when posting regular entries or posting to the forum?
&lt;/p&gt;
&lt;p&gt;
2) I saw on user notes on the Getting Started page for the wiki that empty categories aren&#8217;t deleted to allow you to create a structure in advance. But you can&#8217;t create empty categories, can you? Or is there a way tò create categories separate from the article creation?
&lt;/p&gt;</description>
      <dc:date>2008-07-05T03:55:37-06:00</dc:date>
    </item>

    <item>
      <title>How to; change the default &#8220;Commenting is not available in this weblog entry&#8221; text</title>
      <link>http://expressionengine.com/forums/viewthread/76985/</link>
      <guid>http://expressionengine.com/forums/viewthread/76985/#When:12:55:04Z</guid>
      <description>&lt;p&gt;I&#8217;m sure this must be easy and I&#8217;m just missing it, but can anyone tell me how to alter the &#8220;Commenting is not available in this weblog entry&#8221; message on automatically expired entries?&amp;nbsp; What I would like to do is to have an &#8220;if&#8221; statement that, if commenting is still open, shows a graphic, the comment entry form, etc.&amp;nbsp; If the entry &lt;i&gt;has &lt;/i&gt;expired, a *different* graphic shows up, along with a sentence or two explaining that commenting for this particular entry has been closed, etc.
&lt;/p&gt;
&lt;p&gt;
I can do that for entries that do or do not allow comments in the &lt;i&gt;first &lt;/i&gt;place, but I can&#8217;t figure out how to make it work for expired ones.
&lt;/p&gt;
&lt;p&gt;
TIA!
&lt;/p&gt;</description>
      <dc:date>2008-04-16T12:55:04-06:00</dc:date>
    </item>

    
    </channel>
</rss>