I've installed Apache2.2.4 & php5.2.3 in my windows xp, evry thing is going perfect but when I want to transfer a session variable to another form its not tranfering.......plz any body help me on this regard. will I have to configer any file....its urgent for me..
nil_gh_80 -2 Junior Poster in Training
Recommended Answers
Jump to PostMaybe post some code? All I can do now is direct you to PHP's session page. http://nl3.php.net/manual/en/ref.session.php
Jump to Posttry using session_start()
You should put session_start() In each page in the first, and write a variable contains the session... EX:
session_start();
$_SESSION="NAME";
$Variable=$_SESSION;
It's Easy
Jump to PostFirst off, the code you posted is not even valid code. You have php and html mixed in together and no end form tag to boot. Have you even attempted to run this code yourself?
As far as session, you have not set the value of 'n' in the …
All 9 Replies
Anonymusius 5 Posting Whiz in Training
nil_gh_80 -2 Junior Poster in Training
Sabia 0 Newbie Poster
Pro2000 29 Posting Whiz
JeniF 0 Junior Poster in Training
nil_gh_80 -2 Junior Poster in Training
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
nil_gh_80 -2 Junior Poster in Training
jocbed60 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.