Jump to content


include() problem..can't show the page...

  • Please log in to reply
2 replies to this topic

#1 mass

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 27 August 2006 - 12:35 AM

hi...i'm trying to include php file in my Theme.php ( i have Php-nuke)
this is the code:
	<table bgcolor='#000000' align='center' width='768' border='0' cellspacing='0' cellpadding='0'>
    <td align='center'><TABLE WIDTH=766 BORDER=0 CELLPADDING=0 CELLSPACING=0>

		<img src='themes/DeepBlue/images/shoutbox.gif' width='503' height='189' border='0'/>

	</TR><tr><td width='100%'><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#000000'>\n";

i want you to look at the separate area...
i want to put the this file "yshout/index.php"
i tried to do this...but with out succses...
		<?php include('yshout/index.php'); ?>
or this..
		echo "</TD>

but nothing working...can anyone help me plz?
i'm still a begginer with php...

#2 hax

  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 27 August 2006 - 01:51 AM

For including PHP in HTML files just do like this:

HTML here
HTML continue here

#3 Corona4456

  • Members
  • PipPipPip
  • Advanced Member
  • 244 posts
  • LocationEl Paso, TX

Posted 27 August 2006 - 01:51 AM

Try require(), I believe this will give you an error or warning if it can't find the file.
What is the CoronaMatrix?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users