I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
Thomas:
It's unclear as to what you want.
To make this happen, you click it:
http://www.example.com/test.php?id=20
To make this
Hi,
I am creating an object from a Web Service. Throughout a session I would
like to keep the object that was created in the beginning of the session.
The reason for this is that the creation of the object takes some time
because of the communication with the Web Service. As I see it, there are
Hi,
I do this:
?php
session_start();
require_once('classes/ns_cart.class.php');
if(!isset($_SESSION['ns_cart'])) $_SESSION['ns_cart'] = new NScart();
?
The output will be the following with print_r of the $_SESSION:
Array
(
[ns_cart] = nscart Object
(
You need to declare the class before you call session_start(). Otherwise
it can't create the object properly.
Peter Lauri wrote:
Hi,
I do this:
?php
session_start();
require_once('classes/ns_cart.class.php');
if(!isset($_SESSION['ns_cart'])) $_SESSION['ns_cart'] = new NScart();
?
The output
This one time, at band camp, Thomas Bonham [EMAIL PROTECTED] wrote:
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
in test.php put this code
?php echo $_GET['id']; ?
Kevin
--
Democracy is two wolves and a lamb voting on what to have for
6 matches
Mail list logo