Testing - PHP
Convert SQL query to an array
Example #1
AVAXBTC
ADA
ETH
ENS
ORDI
DOT
SOL
STX
XLM
DJT
UNI
ZIL
Example #2
Array ( [0] => Array ( [distinct_currency] => Avalanche [symbol] => AVAX ) [1] => Array ( [distinct_currency] => Bitcoin [symbol] => BTC ) [2] => Array ( [distinct_currency] => Cardano [symbol] => ADA ) [3] => Array ( [distinct_currency] => Ethereum [symbol] => ETH ) [4] => Array ( [distinct_currency] => Ethereum Name Service [symbol] => ENS ) [5] => Array ( [distinct_currency] => Ordinals [symbol] => ORDI ) [6] => Array ( [distinct_currency] => Polkadot [symbol] => DOT ) [7] => Array ( [distinct_currency] => Solana [symbol] => SOL ) [8] => Array ( [distinct_currency] => Stacks [symbol] => STX ) [9] => Array ( [distinct_currency] => Stellar [symbol] => XLM ) [10] => Array ( [distinct_currency] => TrumpCoin [symbol] => DJT ) [11] => Array ( [distinct_currency] => Uniswap [symbol] => UNI ) [12] => Array ( [distinct_currency] => Zilliqa [symbol] => ZIL ) )
Example #3
distinct_currency: Avalanche
symbol: AVAX
distinct_currency: Bitcoin
symbol: BTC
distinct_currency: Cardano
symbol: ADA
distinct_currency: Ethereum
symbol: ETH
distinct_currency: Ethereum Name Service
symbol: ENS
distinct_currency: Ordinals
symbol: ORDI
distinct_currency: Polkadot
symbol: DOT
distinct_currency: Solana
symbol: SOL
distinct_currency: Stacks
symbol: STX
distinct_currency: Stellar
symbol: XLM
distinct_currency: TrumpCoin
symbol: DJT
distinct_currency: Uniswap
symbol: UNI
distinct_currency: Zilliqa
symbol: ZIL