democolis Posted July 11, 2015 Share Posted July 11, 2015 Hello, How can i get a variable from MySQL in order to appear it in the invoice.tpl file? What's the correct procedure? Can anyone help? Thanks Link to comment Share on other sites More sharing options...
musicmaster Posted July 12, 2015 Share Posted July 12, 2015 The correct procedure is to put the query in the php file from which the invoice.tpl file is called. And then with the results to create Smarty variables that you use in the template. Unfortunately I don't know from which php file invoice.tpl is called. 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