473,471 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Re: how to access variables from a previous page



Wow that's alot of code, it looks like you're already using session
varibles, send it like that. I don't know what the output of $result
is, I'm tired so I'm going to have to say you'll have to serialize it
or convert to string to pass it.
Jul 24 '08 #1
3 1243
On Jul 23, 7:34 pm, The Hajj <hajji.hims...@gmail.comwrote:
Wow that's alot of code, it looks like you're already using session
varibles, send it like that. I don't know what the output of $result
is, I'm tired so I'm going to have to say you'll have to serialize it
or convert to string to pass it.
How can I send it as a session variable? This is a guess and I can't
test it since I don't have access to the db. Am I close?

Header("Location: bad_orderXL.php?param=.$id=
$_SESSION["LMS_LOGGED_IN"]")

I think if I have $id I can redo the queries.

thanks,

Jul 24 '08 #2
On Jul 23, 7:34 pm, The Hajj <hajji.hims...@gmail.comwrote:
Wow that's alot of code, it looks like you're already using session
varibles, send it like that. I don't know what the output of $result
is, I'm tired so I'm going to have to say you'll have to serialize it
or convert to string to pass it.
It already is a string $TPL_carnumbers. How do I pass that with the
session variable?
Jul 24 '08 #3
..oO(JRough)
>On Jul 23, 7:34 pm, The Hajj <hajji.hims...@gmail.comwrote:
>Wow that's alot of code, it looks like you're already using session
varibles, send it like that. I don't know what the output of $result
is, I'm tired so I'm going to have to say you'll have to serialize it
or convert to string to pass it.

It already is a string $TPL_carnumbers. How do I pass that with the
session variable?
Something like

$_SESSION['TPL_carnumbers'] = $TPL_carnumbers;

It will be automatically available on the next page. Just make sure that
you call session_start() at the beginning of every page. See the manual
for more informations.

Micha
Jul 24 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert | last post by:
Hello, Can anyone help with this? On my online order form, I need to send a few variables to my credit-card processor. These variables are for non-secure customer comments, and will be sent...
0
by: steve king | last post by:
Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all headers, server variables..etc but it has a...
1
by: Mario | last post by:
If there is an associated memory cost for using session variables, can the memory used be reclaimed on an ASP page by setting the session variable to undefined or null? If on the same ASP page you...
5
by: Larry Woods | last post by:
I am losing Session variables, but only those that are set in the page previous to a redirect to a secure page. Anyone seen ANY situation where Session variables just "disappear?" Note that...
6
by: Raqueeb Hassan | last post by:
Hello There! Have you guys tried inserting variables in mySQL tables? Do I have to use 'quote' as we had been doing to insert strings? mysql> INSERT INTO occurrence (word_id,page_id) VALUES...
4
by: PJ | last post by:
A particular page seems to be having issues with correctly setting Session variables. I am setting a couple of session variables on the Page_Unload event. While stepping through code, the...
10
by: EOZyo | last post by:
Hi, i'm trying to set pagination for a search i run on my website, i'll try to explain the easiest i can: When i click the search button on search.php, data is received and stored in variables...
1
by: Dabbler | last post by:
What effect does the browser refresh button have on a) session variables and b) viewstate? My page loads info based on session variables and it seems this breaks when someone does a page...
26
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
49
by: Allen Browne | last post by:
If you are looking for opinon on what's useful in Access 2007, there's a new article at: http://allenbrowne.com/Access2007.html Covers what's good (useful features), what's mixed (good and bad),...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.