[英]How can I get sectioned tables in phpMyAdmin
我正在使用phpMyAdmin為我的項目數據庫創建表。 目前,我的表按此table->{contents}
table->section_name1{contents},section2_name{contents}
排列,但我希望它們像這個表table->section_name1{contents},section2_name{contents}
。 我想要的JSON格式示例在此鏈接中 。
不清楚您要問什么。 如果僅希望表中的內容可以按section_name進行分組(如JSON示例中所示),則只需將section_name設為表中的一列,並為每個節適當地填充它。
如果不是那樣,那么您能詳細解釋一下您要做什么嗎?
編輯:這樣:
------------------------------------------------------------------------
| Title | Name | Image |
------------------------------------------------------------------------
| Section 1 | Donut | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 1 | Eclairs | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 1 | Froyo | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 2 | Donut | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 2 | Eclairs | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 2 | Froyo | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 3 | Donut | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
| Section 3 | Eclairs | https://thecustomizewindows.com/wp-.... |
------------------------------------------------------------------------
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.