Re: [phplib] Using Template class - How do I include another PHP script? From: Olivier Demah (odemah <email protected>)
Date: 04/19/01

On Thu, Apr 19, 2001 at 11:43:47AM +0100, Rogers, Paul wrote:
> I have two php scripts.
>
> The first uses the Template class to produce a page which is a table, in
> which each cell comprises the output of anothertemplate (The original page
> was a set of frames which I am trying to do away with now).
>
> The second script uses db_oci8 and table to create a table of output from an
> oracle database.
>
> Both scripts work fine on their own.
>
> My question is how do I include the output from the database in the main
> page?
>
> Can I use require/include to run the second script and then use the table
> show_result() to place the output in a variable which can then be parsed by
> the first script?
i don't really know this...
but i am sure you can "include" others templates in one template
if it can help you... i can show you. but if it is not want you want ....
>
> Thanks in advance
>
>
singature a little bit long no?
> Paul
>
> =====================================================================
>
> Paul Rogers
> eDM Support
> Mowlem Civil Engineering
> Foundation House
> Eastern Road
> Bracknell
> Berks RG12 2UZ _____
> / \
> Tel +44 (0) 1344 426826 vvvvvvv /|__/|
> Direct Dial: +44 (0) 1344 742268 I /O,O |
> Fax +44 (0) 1344 742129 I /_____ | /|/|
> Mobile +44 (0)780 326 3564 J|/^ ^ ^ \ | /00 | _//|
> email paul.rogers@ mowlem.com |^ ^ ^ ^ |W| |/^^\ | /oo |
> ______________________________________ \m___m__|_| __ \m_m_| __\mm_|
> =====================================================================
>
>
> *****************************************************************************
> This email and any attachments transmitted with it are confidential
> and intended solely for the use of the individual or entity to whom
> they are addressed. If you have received this email in error please
> notify the sender and do not store, copy or disclose the content
> to any other person.
>
> It is the responsibility of the recipient to ensure that opening this
> message and/or any of its attachments will not adversely affect
> its systems. No responsibility is accepted by the Company.
> *****************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

-- 
Founder Member of PhpFR             : http://www.phpfr.org
Member of The Association Gcu-Squad : http://gcu-squad.org

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>