I'm using phpMyAdmin to create tables for my project database. Currently my tables are in this order table->{contents}
but I want them to be like this table->section_name1{contents},section2_name{contents}
. An example of what I want in JSON format is in this link .
It's not really clear what you're asking. If you just want the content in the tables to be groupable by section_name, like in the JSON example, then you just need to make section_name a column in your table and populate it appropriately for each section.
If it's not that then can you please explain in more detail what you are trying to do?
EDIT: Like this:
------------------------------------------------------------------------
| 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-.... |
------------------------------------------------------------------------
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.