Using mysql_get in reports

12 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: April 3, 2013   (RSS)

By Djulia - April 3, 2013 - edited: April 3, 2013

Hi Dave,

I added the querie in the script.
That functions perfectly! :)

  // get query result
  $sql          = getEvalOutput($report['mysql']);
  mysql_query("SET lc_time_names = 'es_ES'");
  $result       = @mysql_query($sql);
  $result_error = mysql_error();


>What about putting that first line in a plugin that runs on every CMS page load.
The idea is interesting, but won't that multiply the queries unnecessarily sometimes ?

I think of the server resources...

Thanks again!

Djulia