liyiwu Posted October 9, 2013 Posted October 9, 2013 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?
Martijn Geerts Posted October 9, 2013 Posted October 9, 2013 (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 October 13, 2013 by Martijn Geerts 4
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now