Help us understand the problem. What is going on with this article?

PHP と MySql 自分用メモ

More than 3 years have passed since last update.

2次元連想配列の特定の値だけ変更

【PHP】【Tips】foreachで配列の値を変更するときに参照渡しを利用すると便利!

データーベースの結合

データーベースの結合〜3つ以上のテーブル結合〜

例: order_tとbento_tをbento_idでくっつけ、さらにbento_tとstore_tをstore_idでくっつける。
SELECT * FROM order_t
JOIN bento_t ON order_t.bento_id = bento_t.bento_id
JOIN store_t ON bento_t.store_id = store_t.store_id;

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away