Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変数変数名をエコーしたいのですが、うまくいきません:
echo ($["IMG$i"]);
$i1この場合は for ループが進行している間に変化します。
$i
1
$IMG1値を持つ変数です
$IMG1