mysql - PHP function on SQL selectee -


is possible perform specific php function on data being returned database query, @ moment query still running?

let's in class , have following pseudo sql should return couple of rows:

$results = $this->db->query("select php_function(column), column 2 table")->fetchall(pdo::fetch_assoc); 

php_function json_decode example.

or not possible , require additional loop on results in order such thing?

a manual page function you're using contains example


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -