Jump to content

Blocks with php & queries


dancingbear
 Share

Recommended Posts

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?

 

 

Edited by dancingbear
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...