Re: php problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




a.) PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'DB.php' (include_path='C:\php\pear') in C:\sambar64\docs\BondMovies.php on line 11

require_once('DB.php');

<snip>

Isn't the pear db class DB/DB.php ?


> b.)PHP Parse error:  syntax error, unexpected ';' in
> C:\sambar64\docs\ButtonMaker.php on line 17

<snip>

$dx = abs($tsize[2]-$tsize[0]);
$dy = abs($tsize[5]-$tsize[3]);
$x = ( imagesX($im) - $dx ) / 2;
$y = ( imagesy($im) - $dy / 2 + $dy;

You're missing a close bracket here somewhere.

--
Postgresql & php tutorials
http://www.designmagick.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux