PDA

View Full Version : PHPincludes help...


andrew67
01-19-2002, 12:28 AM
Hello again
Im trying to add phpads and I sql get errors after I add the required stuff in my VB phpinclude template... This is what I have now:

if (!isset($mainfile)){
include("../vbp_includes.php");
}

and i need to add this to it:

require("phpads/phpadsnew.inc.php");
$ad1 = view_raw("top","_window");
$ad2 = view_raw("bottom","_window");

If i just paste it in i get a ton of sql errors and the portal won't load.. How do I add both to the phpincludes template??

Oh btw phpads works fine if I remove the portal stuff and of course the portal works if there is no banner stuff... They just dont work together...

Thanks in advance
Andrew

andrew67
01-30-2002, 09:22 AM
No one has vbportal and phpadsnew working together??? Please Im desperate...