Jump to content

can I use my own database table in processwire?


liyiwu
 Share

Recommended Posts

for shure:

// mysqli will be depricated, so use PDO if you start with it

$sql = "awesome query";
// $database variable is available in your templates. $database is the PDO way.
$query = $database->prepare($sql);
$query->execute();

Oké, stupid me: Welcome to ProcessWire greentea 

Edited by Martijn Geerts
  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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