At 2:35 PM -0400 9/21/07, Jason Pruim wrote:
e... Never mind. Soon as I sent the e-mail I tried moving the
$_SESSION['search'] = $_GET['search']; to the top just below the
includes and it worked just fine! :)
Ahh, the old sequence bug. Funny how variables have to be set before
they contai
e... Never mind. Soon as I sent the e-mail I tried moving the
$_SESSION['search'] = $_GET['search']; to the top just below the
includes and it worked just fine! :)
I think my problem was the session variable was being displayed at
the top of the page, and then stored after the form... p
[snip]
Wouldn't that be what this code does:
$search.";
$qrow[]= mysql_query($qstring) or die(mysql_error());
$qresult = $qrow[0];
$num_rows = mysql_num_rows($qresult);
//display search form
echo "
Sea
On Sep 21, 2007, at 2:26 PM, Jay Blanchard wrote:
[snip]
I have a question about sessions, I am attempting to store a search
term in a session variable to that when it finds the set of records
from the database it can export it to excel. The problem I have is
that the session variable is 1 sear
[snip]
I have a question about sessions, I am attempting to store a search
term in a session variable to that when it finds the set of records
from the database it can export it to excel. The problem I have is
that the session variable is 1 search behind...
[/snip]
When you do the search sto
Hi Everyone,
I have a question about sessions, I am attempting to store a search
term in a session variable to that when it finds the set of records
from the database it can export it to excel. The problem I have is
that the session variable is 1 search behind...
IE:
Search 1: Harry
Resul
I was wondering if there is a way to tell if a session exists or not.
For example, have a system where people login and it starts a session
like:
sess_cf4c4f6a8cffaf3334df48b6ea1d55e4
If the user logs out or the session is destroyed, then it won't exist
anymore. I know you can use the session_
7 matches
Mail list logo