dancingbear Posted October 18, 2015 Share Posted October 18, 2015 I want to have a block in Block Manager which queries a different database to the IPB database, but it doesn't seem to work (the code has been tested and works OK in a standalone PHP script). The script fails when the query is run, on this line ----------------- $result = mysqli_query($dbconnect,$sql) ----------------- Is anyone able to tell me how I can get it working, please? Link to comment Share on other sites More sharing options...
VizionDev Posted October 18, 2015 Share Posted October 18, 2015 What's the error given? Link to comment Share on other sites More sharing options...
dancingbear Posted October 19, 2015 Author Share Posted October 19, 2015 error code ex2 Link to comment Share on other sites More sharing options...
dancingbear Posted October 19, 2015 Author Share Posted October 19, 2015 well, weirdly the php block thingy doesn't seem to like 'include_once', but it likes 'include'. No idea why that might be, but changing that cured by problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.