私はこのコードphpを持っています
$query2 = "SELECT * FROM hosts where cod='$stream'";
$result2=mysql_query($query2);
while ($row2=mysql_fetch_array($result2))
{
$audio=$row2['audio'];
$def=$row2['def'];
$hosty=$row2['host'];
}
この形式でjsonに結果を取得する方法:
var sources = {"english":{"360":["bayfiles","filebox","zalaa","cramit"],"720":["cramit","180upload"]},"portugues":{"1080p":["zalaa","cramit"],"720":["cramit","180upload"]}}
可能です?
ありがとう