hypnozc Posted September 26, 2014 Share Posted September 26, 2014 (edited) Hello. How I can read data from MySQL? I fought link to documentation: http://doc.prestashop.com/display/PS15/DB+class+best+practices#DBclassbestpractices-getValue() but I dont know how to use it... Can you help me please? Why this not work?: $testik = 'SELECT city * FROM ps_address';$zadara = Db::getInstance()->getValue($testik) work only: $testik = 'SELECT * FROM ps_address'; and it save to $testik only id (I think,because it show 1) Edited September 26, 2014 by hypnozc (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts