Hi James,
have you put in a line of code to actually include the functions file?

e.g. include("functions.php");

There are a couple of different versions of include() and require()
which is similar. You can check the differences on php.net

all the best,
Fergal

On Tue, 2005-03-29 at 14:07 -0600, Wade wrote:
> In the included file.
> 
> Wade
> 
> James Keeline wrote:
> 
> > > I have a function that checks to see if values are present in a db.
> > > Within the function is a call to the. The function itself is in a file
> > > titled functions.php.
> > >
> > > When I try to call the function it states:
> > >
> > > *Fatal error*:  Call to undefined function usernameCheck()
> > > in *C:\WebDev\Work Directory\Testing\db_conn\loginC.php* on line *30
> > >
> > > I can call functions from include files - right.
> > >
> > > Wade
> >
> > Where is the function defined?  The main file or the included file?
> >
> > James
> > _____
> >
> >
> >
> > James D. Keeline
> > http://www.Keeline.com  http://www.Keeline.com/articles
> > http://Stratemeyer.org  http://www.Keeline.com/TSCollection
> >
> > http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
> > Spring Semester Begins Jan 31 -- New Classes Start Every Few Weeks.
> >
> >
> > Community email addresses:
> >   Post message: [email protected]
> >   Subscribe:    [EMAIL PROTECTED]
> >   Unsubscribe:  [EMAIL PROTECTED]
> >   List owner:   [EMAIL PROTECTED]
> >
> > Shortcut URL to this page:
> >   http://groups.yahoo.com/group/php-list
> >
> >
> > *Yahoo! Groups Sponsor*
> > ADVERTISEMENT
> > click here 
> > <http://us.ard.yahoo.com/SIG=1298s8e6m/M=297844.5692940.6932969.3356155/D=groups/S=1705005703:HM/EXP=1112213116/A=2533537/R=0/SIG=10v7of2am/*http://www.target.com/careers>
> >  
> >
> >
> >
> > ------------------------------------------------------------------------
> > *Yahoo! Groups Links*
> >
> >     * To visit your group on the web, go to:
> >       http://groups.yahoo.com/group/php-list/
> >        
> >     * To unsubscribe from this group, send an email to:
> >       [EMAIL PROTECTED]
> >       <mailto:[EMAIL PROTECTED]>
> >        
> >     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >------------------------------------------------------------------------
> >
> >No virus found in this incoming message.
> >Checked by AVG Anti-Virus.
> >Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005
> >  
> >
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> Community email addresses:
>   Post message: [email protected]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
> 
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to