hi!
the code is
<?php
include("classes/DB.php");
include("classes/PageMaker.php");
$page = new PageMaker("main.css", "USYD Basketball");
$page->print_header();
printf("<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
$page->print_banner();
$page->print_menu();
$db = new DB("localhost", "usydbasketball", "", "");
$query = "SELECT * FROM updates ORDER BY ID DESC";
thanks
ajay
Quoting adwinwijaya <[EMAIL PROTECTED]>:
> Hello ajay,
> Sunday, February 22, 2004, 7:57:21 PM, you wrote:
>
> a> hi!
> a> i have a class called DB that i include in a page as
> include(classes/DB.php);
> a> however when i run this page i get an error saying
> a> Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to
> open
> a> stream: No such file or directory in
> a> /home/bikkar/public_html/ajay/index.php
> a> on line 18
> a> Warning: main(): Failed opening
> a> '/home/bikkar/public_html/ajay/classes/DB.php'
> a> for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
> a> in /home/bikkar/public_html/ajay/index.php on line 18
> a> but i have verified that DB.php is there, is
> a> full(non-corrupted) and there are
> a> a few other classes in that folder that upload fine.
> a> can someone please help
> a> thanks
> a> --
> a> ajay
> a> ---------------
>
> --> would you like to show us part of the code (especially on
> --> index.php line 18)
>
> --
> Best regards,
> adwinwijaya mailto:[EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
ajay
---------------
Who Dares Wins
-------------------------------------------------
This mail sent through IMP: www-mail.usyd.edu.au
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php