PHP include -first try- error message

Hello,

I am trying out php includes after a long time since the last time I used them on a another server.

Can someone help me. What am I doing wrong here?

I have included my test php file and the message I get in my browser trying it.

Thank You


Untitled Document <?php include(lymcanada.com/includes/bottom.html); ?> __________________________________

Warning: Division by zero in /home2/trudella/public_html/lymcanada.com/php.php on line 9

Warning: Division by zero in /home2/trudella/public_html/lymcanada.com/php.php on line 9

Warning: include(lymcanadahtml) [function.include]: failed to open stream: No such file or directory in /home2/trudella/public_html/lymcanada.com/php.php on line 9

Warning: include() [function.include]: Failed opening ‘lymcanadahtml’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home2/trudella/public_html/lymcanada.com/php.php on line 9

am not sure…

i think u missed the quotation marks…

it should be

<?php include([b]'[/b]lymcanada.com/includes/bottom.html[b]'[/b]); ?>

instead of this

<?php include(lymcanada.com/includes/bottom.html); ?>
Sponsor our Newsletter | Privacy Policy | Terms of Service