sycik Posted February 16, 2009 Share Posted February 16, 2009 I have two scripts, both of which say I must insert the php require code at the very top of the HTML code on line 1. the scripts are: The ssi function for the Simple Machines Forum <?php require("/path/to/forum/SSI.php"); ?> Unobtusive AJAX star rating bar <?php require('_drawrating.php'); ?> However, the problem is, when I insert them, they contradict with each other and it doesn't work. Link to comment https://forums.phpfreaks.com/topic/145360-php-require-issue/ Share on other sites More sharing options...
Cosizzle Posted February 16, 2009 Share Posted February 16, 2009 try a include('script.php') on second thought, when you include them do they both of html headers? Link to comment https://forums.phpfreaks.com/topic/145360-php-require-issue/#findComment-763092 Share on other sites More sharing options...
haku Posted February 16, 2009 Share Posted February 16, 2009 However, the problem is, when I insert them, they contradict with each other and it doesn't work. In what manner? Link to comment https://forums.phpfreaks.com/topic/145360-php-require-issue/#findComment-763114 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.