Jump to content

Recommended Posts

Posted

I have build a website use modx. There are a table that design by myself. I can insert/update/query the record.

Can I do the same thing in processwire? And how to do this?

Posted (edited)

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

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
  • Recently Browsing   0 members

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