Bu ancak ben PHP oldukça yeni duyuyorum, ve sığınak yıl içinde herhangi bir HTML yapılan, muhtemelen gerçekten basit bir şeydir.
Ben Google Charts içine rakamlar bir dizi ile dolu bir PHP değişkeni almak gerekiyor. Bunun için benim kod şimdiye kadar:
<img src="http://chart.apis.google.com/chart?
&chs=340x175
&chd=t:<?=$filedetail[1]?>
&cht=lc
&chtt=Test
">
O [1] nedense? = $ Filedetail durur Ancak, Google, bir hata bildirdi. Bu API, sadece PHP etiketlerinin başından geçmiş okuyun cant daha o, değişken okuma sorun olduğunu görünmüyor.
Teşekkürler,
Rob A.
EDIT: I have managed to make Google accept the URL, however now it is not showing anything on the chart, as its filling in the &chd=t: field with instead of the figures within that variable. The URL reads like this:
http://chart.apis.google.com/chart?&chs=340x175&chd=t:%3C?=$filedetail[1]?%3E&cht=lc&chtt=Test