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: php-list@yahoogroups.com > 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: php-list@yahoogroups.com 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/