1
djayc2104
I need some help folks!!!
  • 2006/10/19 17:03

  • djayc2104

  • Just popping in

  • Posts: 40

  • Since: 2006/9/26


Hi,
I have grabbed some ID info from the url with the $_GET command and stored it in a variable.
When I try and call up this variable on another page the variable that I assigned to the $_GET is empty.
How do I use variable information gained from another page on my site.
I have tried using setcookie and retreiving the info from that but this comes back as an empty variable again using $id = $_COOKIE(mine)
Can anyone help me or at least understand what I want to do.

Thanks in anticipation,

2
kaotik
Re: I need some help folks!!!
  • 2006/10/19 17:13

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Instead of cookie (which some people have turned off) try using $_SESSION.
$_SESSION['myvar']=$myvar;


You can read more here:
http://pt.php.net/manual/en/ref.session.php

Login

Who's Online

197 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits