So i would not need to use <?PHP / ?> correct...

Also as to the other question I asked: 

WHat should I use in the other file? the complete connection code or
just the values as variables?


On Mon, 20 Sep 2004 13:23:20 -0700, Daniel Kushner <[EMAIL PROTECTED]> wrote:
> Hi Gary,
> 
> Look up http://php.net/include
> 
> It's just like "copy and pasting" the code in the external file in the
> one your including it into.
> 
> Best,
> Daniel Kushner
> 
> ______________________________________
> Director of Education
> Zend Technologies Ltd.
> 
> [EMAIL PROTECTED]
> http://www.zend.com
> 
> ==================================================================
> Learn PHP from the experts, sign up for Zend's
> online training starting October 11th
> http://www.zend.com/store/education/zend-online-training.php
> 
> ==================================================================
> 
> 
> 
> 
> On Mon, 20 Sep 2004 16:14:07 -0400, GH <[EMAIL PROTECTED]> wrote:
> > Hi...
> >
> > Sorry about the last post... did not realize i hit the wrong button
> >
> > Here is my question. Sorry if it is a basic answer... new to php
> >
> > I have PHP/mySQL and would like to know how i can set use an external
> > file to prevent myself for having to code everytime the
> > "connection/login" to mysql.
> >
> > ----------------
> >
> > I was thinking of making an external file but was not sure if it
> > should have just variables or should it have more?
> >
> > also, does the content of the external file need to be enclosed in
> > <?PHP &  ?>'s
> >
> > Thanks for your help
> >
> > Gary
> > 
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to