Hi all,
Nick: thx for the tip, it removed the error, and might further be a good
idea: except:
do you know if I can declare session variables and use them in between the
output buffer statements
like this: (i tried it but it doesn't seem to work)??
greetings Wilbert
include ("class.basepage.php");
ob_start(); //start the outputbuffering
$object= new basepage; //object basepage which determines which HTML
to output (due to queries and calcultaions)
session_register($variable);
$extra_variable=$variable+1;
echo "$extra_variable";
ob_get_contents(); //show the buffer
ob_end_flush() ; //clear the buffer
----- Original Message -----
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 1:59 PM
Subject: Re: [PHP] session variables in OOP....
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> * and then Wilbert Enserink declared....
> > I hope you understand my problem and have some tips for me. Below is
some code snippets I'm using:
>
> Actually it's a little tricky to understand ;-)
> Have you considered output buffering?
> - --
> Nick Wilson // www.explodingnet.com
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iD8DBQE9Cdq/HpvrrTa6L5oRAqmzAJ99bcz64l6/lfcIqLz4iGKlTLeJHQCeOmsH
> e0lahzjczcVE3aFql/+G6+M=
> =Fl/c
> -----END PGP SIGNATURE-----
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-------------------------
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[EMAIL PROTECTED]
-------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php