[PHP] A Question of SESSION

2012-06-07 Thread Tedd Sperling
Hi Daniel and gang: Considering I'm never afraid to show my ignorance, please review the following example. Because of the way I normally use sessions and considering this way works for me, I thought I knew what sessions were about -- but my faith is eroding. Cases in point 1. The following

[PHP] Re: A Question of SESSION

2012-06-07 Thread Daniel P. Brown
On Thu, Jun 7, 2012 at 11:15 AM, Tedd Sperling t...@sperling.com wrote: 3. Looking for an explanation, I came across Daniel's post to the PHP manual, which follows: http://www.webbytedd.com/b/sessions3 Now I am totally bonkers. What am I not getting? Anything. Because that page

[PHP] Re: A Question of SESSION

2012-06-07 Thread Daniel P. Brown
On Thu, Jun 7, 2012 at 11:20 AM, Daniel P. Brown daniel.br...@parasane.net wrote: On Thu, Jun 7, 2012 at 11:15 AM, Tedd Sperling t...@sperling.com wrote: 3. Looking for an explanation, I came across Daniel's post to the PHP manual, which follows: http://www.webbytedd.com/b/sessions3 I

[PHP] help with query

2012-06-07 Thread Jack
Hello All, I have this string defined for my query and it shows the different types of categories fine, but when I change a.categoryid = c.categoryid to a.categoryid = 1 which is only one of the categories It shows me the same record twice. $query = select a.startdate, a.articleid,

[PHP] test

2012-06-07 Thread Sven Kowalski
does it work now? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] test

2012-06-07 Thread Camilo Sperberg
It seems so Sent from my iPhone 5 Beta [Confidential use only] On 7 jun. 2012, at 20:07, Sven Kowalski sven-kowal...@gmx.de wrote: does it work now? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List

Re: [PHP] test

2012-06-07 Thread Jay Blanchard
On 6/7/12 1:07 PM, Sven Kowalski wrote: does it work now? It pretty much always did. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Question of SESSION

2012-06-07 Thread Matijn Woudt
On Thu, Jun 7, 2012 at 5:15 PM, Tedd Sperling t...@sperling.com wrote: Hi Daniel and gang: Considering I'm never afraid to show my ignorance, please review the following example. Because of the way I normally use sessions and considering this way works for me, I thought I knew what

Re: [PHP] help with query

2012-06-07 Thread Ashley Sheridan
Jack jacklistm...@gmail.com wrote: Hello All, I have this string defined for my query and it shows the different types of categories fine, but when I change a.categoryid = c.categoryid to a.categoryid = 1 which is only one of the categories It shows me the same record twice. $query =

Re: [PHP] help with query

2012-06-07 Thread Jim Lucas
On 06/07/2012 09:37 AM, Jack wrote: $query = select a.startdate, a.articleid, c.name, a.title, a.intro, a.datecreated from articles as a, categories as c where (a.startdate = -1 or a.startdate= {$now}) and (a.enddate = -1 or a.enddate= {$now}) and a.categoryid = c.categoryid order by a.startdate

RE: [PHP] help with query

2012-06-07 Thread Jack Sasportas
Thanks Jim, worked like a charm. -Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Thursday, June 07, 2012 4:08 PM To: Jack Cc: PHP Subject: Re: [PHP] help with query On 06/07/2012 09:37 AM, Jack wrote: $query = select a.startdate, a.articleid, c.name, a.title,

[PHP] A problem about sessions

2012-06-07 Thread Tazio Ceri
Hi all, I have a PHP script that takes very long time to execute. I manage it using the following structure: ob_start(); // some code session_start(); // some code header(Content-length: .ob_get_length()); ob_end_flush(); // some other, very long, code! The problem I am facing is that,

Re: [PHP] A problem about sessions

2012-06-07 Thread Stuart Dallas
On 8 Jun 2012, at 00:39, Tazio Ceri wrote: I have a PHP script that takes very long time to execute. I manage it using the following structure: ob_start(); // some code session_start(); // some code header(Content-length: .ob_get_length()); ob_end_flush(); // some other, very