dyncoder
-
Content count
4 -
Joined
-
Last visited
Posts posted by dyncoder
-
-
I did figure out how to get a 2dcolumn working. Please go here for details ==> http://stackoverflow.com/questions/34487605/php-pdo-convert-array-to-different-format#comment56718566_34487797
My suggestion I offer is to make the php wrapper use the native output from "json_encode" as it seems it needs to be modified in order to work. Thanks
-
I wanted to add, I can get the following array results: Array ( [0] => Array ( [id] => 6 [Name] => John Smith [Pet] => Dog [Visits] => 5 [DateTime] => 11/26 22:24 ) ) using $results = $stm->fetchAll(PDO::FETCH_ASSOC); but unsure how to convert it into the following form for fusion charts:
[
{
label: "CJ Anderson",
value: "25"
},
{
label: "Imran Tahir",
value: "25"
},
...
...
] -
Hello is there an example with php pdo non-deprecated commands.
I found the following but it is written with deprecated coding.
mysql_fetch_array — Fetch a result row as an associative array, a numeric ... This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
Please let me know, thanks.
Angular Guage with Json/ PDO (non-deprecated) Wrapper
in Using FusionWidgets XT
Posted · Report reply
Hello I wish to make this work for Angular Guage in Fusionwidget using PHP Wrapper and json format.
Can someone please look at this code and tell me where I might mod it for 2d column too angular. I looked at some this dropbox (https://www.dropbox.com/sh/mtegxolyaivxy2d/AAA39PLz0HMGALxPAAZf8FHNa?dl=0) but still need some help. Thanks