Date: 05/22/01
- Next message: nathan r. hruby: "Re: [phplib] URLs and session variables (newbee)"
- Previous message: nathan r. hruby: "Re: [phplib] Authentication and *NIX"
- Next in thread: nathan r. hruby: "Re: [phplib] URLs and session variables (newbee)"
- Reply: nathan r. hruby: "Re: [phplib] URLs and session variables (newbee)"
- Maybe reply: Klaus Seidenfaden: "Re: [phplib] URLs and session variables (newbee)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have some problems getting my head around how to create links that change
session variables.
I am trying to make an interface that changes depending on the "mode" I set
it in. I am using phpLibs sessions and templates so far.
A string to the template might look like this:
$my_url = $sess->self_url();
"<A href=\"$my_url?mode=result\">Klick here for a new mode</A>"
I then have a switch structure that calls to different items to be displayed
In different modes.
The ?mode=result part is my attempt to make a self url chande a variable. I
don't know if this is the way to go or not. And if so, I don't know how to
make that variable a part of my session when the page reloads.
I want self-pointing links that chande the session variable mode.
Can anyone shed some light on this for me.
"Making ugly simple php-scripts is no problem. It is making beautiful
php-applications that demand skills I donät yet have" /I said this
/Ninjaman
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: nathan r. hruby: "Re: [phplib] URLs and session variables (newbee)"
- Previous message: nathan r. hruby: "Re: [phplib] Authentication and *NIX"
- Next in thread: nathan r. hruby: "Re: [phplib] URLs and session variables (newbee)"
- Reply: nathan r. hruby: "Re: [phplib] URLs and session variables (newbee)"
- Maybe reply: Klaus Seidenfaden: "Re: [phplib] URLs and session variables (newbee)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

