Bonjour
Le resultat affiché d'une variable print_r($tableau); sur mon script donne ceci :
Or, l'information que je cherche à afficher dans tout ce code est celle en 10ème ligne "674.20" :?
Merci de votre aide :wink:
Le resultat affiché d'une variable print_r($tableau); sur mon script donne ceci :
Code:
Array ( [TTI_transmission] => Array ( [quoteresult] => Array ( [0] => Array ( [symbolfound] => 1 [tickersymbol] => $DJI [companyname] => DOW JONES INDUSTRIAL AVERAGE [last] => 12560.20 [change] => +30.15 [pcthange] => +0.24 [volume] => 164,930,779 ) [1] => Array ( [symbolfound] => 1 [tickersymbol] => SPX [companyname] => STANDARD AND POORS 500 INDEX [last] => 1443.76 [change] => +4.39 [pcthange] => +0.30 [volume] => 0 ) [2] => Array ( [symbolfound] => 1 [tickersymbol] => TSEA.CA [companyname] => S&P/TSX COMPOSITE INDEX [last] => 13425.02 [change] => -23.29 [pcthange] => -0.17 [volume] => 0 ) [3] => Array ( [symbolfound] => 1 [tickersymbol] => JX.CA [companyname] => S&P/TSX VENTURE COMPOSITE [last] => 3257.43 [change] => +16.46 [pcthange] => +0.51 [volume] => 0 ) [4] => Array ( [symbolfound] => 1 [tickersymbol] => /GC7J [companyname] => GOLD APRIL [last] => 674.20 [change] => +2.10 [pcthange] => +0.31 [volume] => 1,718 ) [5] => Array ( [symbolfound] => 1 [tickersymbol] => /SI7J [companyname] => SILVER APRIL [last] => 13.694 [change] => +0.124 [pcthange] => +0.91 [volume] => 0 ) [6] => Array ( [symbolfound] => 1 [tickersymbol] => /CL7K [companyname] => CRUDE OIL LT SWEET MAY NT [last] => 63.94 [change] => -0.34 [pcthange] => -0.53 [volume] => 180,648 ) [7] => Array ( [symbolfound] => 1 [tickersymbol] => /NG7K [companyname] => HENRY HUB NAT GAS MAY NT [last] => 7.625 [change] => +0.018 [pcthange] => +0.24 [volume] => 35,260 ) [8] => Array ( [symbolfound] => 1 [tickersymbol] => /HG7J [companyname] => COPPER APRIL [last] => 3.371 [change] => -0.0115 [pcthange] => -0.34 [volume] => 304 ) [9] => Array ( [symbolfound] => 1 [tickersymbol] => /PL7J [companyname] => PLATINUM APRIL NT [last] => 1261.00 [change] => -1.90 [pcthange] => -0.15 [volume] => 24 ) [10] => Array ( [symbolfound] => 1 [tickersymbol] => /PA7J [companyname] => PALLADIUM APRIL NT [last] => 0.00 [change] => 0.00 [pcthange] => 0.00 [volume] => 0 ) [11] => Array ( [symbolfound] => 1 [tickersymbol] => /QL7K [companyname] => COAL MAY NT [last] => 41.25 [change] => 0.00 [pcthange] => 0.00 [volume] => 0 ) ) [datestamp] => Friday, April 6, 2:01 PM ) )
Or, l'information que je cherche à afficher dans tout ce code est celle en 10ème ligne "674.20" :?
Merci de votre aide :wink: