liyiwu Posted October 9, 2013 Share 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? Link to comment Share on other sites More sharing options...
Martijn Geerts Posted October 9, 2013 Share 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 Link to comment Share on other sites More sharing options...
liyiwu Posted October 10, 2013 Author Share Posted October 10, 2013 Thanks a lot ! Link to comment Share on other sites More sharing options...
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