lolalola Posted June 22, 2010 Share Posted June 22, 2010 Hi,how work with database?get information for example from ps_country table, send, update... $customer = Db::getInstance()->getRow('SELECT * FROM '._DB_PREFIX_.'gallery WHERE name = \''.pSQL($customerEmail).'\''); Now i get one row, how get all values from this table?Thanks Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 12, 2010 Share Posted July 12, 2010 Try using Db::getInstance()->ps('SELECT * FROM '._DB_PREFIX_.'gallery WHERE name = \''.pSQL($customerEmail).'\''); Remember, this returns an array. 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