AI助手支持GPT4.0
This plugin allows you to display the content of MySql tables into sortable html tables thanks to the DataTable jQuery Plugin.
借助DataTable jQuery插件,此插件可让您将MySql表的内容显示为可排序的html表。 p>
You don’t need any configuration and once installed, it is ready to use.
您不需要任何配置,安装后即可使用。 p>
Simply add the shortcode [dbtable] into an article or a page and you will have a nice and clean table.
[dbtable]
只需将简码 [dbtable] code>添加到文章或页面中,您将获得一个漂亮干净的表。 p>Examples:示例: h3>All parameters that contain more than one value have to be separated by commas without spaces.所有包含多个值的参数都必须用逗号分隔,且不能使用空格。 p>Minimum needed : [dbtable from=MysqlTableName]最少需要: [dbtable from = MysqlTableName] code> p>select=field1,field2,field3 will display all rows of the table and only specified fields select = field1,field2,field3 code>将显示表的所有行,并且仅显示指定的字段 li>except=field1,field2,field3 will display all rows of the table except specified fields except = field1,field2,field3 code>将显示表中除指定字段外的所有行 li>cssClass=class1,class2 will add class1 and class2 to the class attribut of the table cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li> ul>
[dbtable] code>添加到文章或页面中,您将获得一个漂亮干净的表。 p>Examples:示例: h3>All parameters that contain more than one value have to be separated by commas without spaces.所有包含多个值的参数都必须用逗号分隔,且不能使用空格。 p>Minimum needed : [dbtable from=MysqlTableName]最少需要: [dbtable from = MysqlTableName] code> p>select=field1,field2,field3 will display all rows of the table and only specified fields select = field1,field2,field3 code>将显示表的所有行,并且仅显示指定的字段 li>except=field1,field2,field3 will display all rows of the table except specified fields except = field1,field2,field3 code>将显示表中除指定字段外的所有行 li>cssClass=class1,class2 will add class1 and class2 to the class attribut of the table cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li> ul>
All parameters that contain more than one value have to be separated by commas without spaces.
所有包含多个值的参数都必须用逗号分隔,且不能使用空格。 p>
Minimum needed : [dbtable from=MysqlTableName]
[dbtable from=MysqlTableName]
最少需要: [dbtable from = MysqlTableName] code> p>select=field1,field2,field3 will display all rows of the table and only specified fields select = field1,field2,field3 code>将显示表的所有行,并且仅显示指定的字段 li>except=field1,field2,field3 will display all rows of the table except specified fields except = field1,field2,field3 code>将显示表中除指定字段外的所有行 li>cssClass=class1,class2 will add class1 and class2 to the class attribut of the table cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li> ul>
[dbtable from = MysqlTableName] code> p>select=field1,field2,field3 will display all rows of the table and only specified fields select = field1,field2,field3 code>将显示表的所有行,并且仅显示指定的字段 li>except=field1,field2,field3 will display all rows of the table except specified fields except = field1,field2,field3 code>将显示表中除指定字段外的所有行 li>cssClass=class1,class2 will add class1 and class2 to the class attribut of the table cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li> ul>
select=field1,field2,field3
select = field1,field2,field3 code>将显示表的所有行,并且仅显示指定的字段 li>except=field1,field2,field3 will display all rows of the table except specified fields except = field1,field2,field3 code>将显示表中除指定字段外的所有行 li>cssClass=class1,class2 will add class1 and class2 to the class attribut of the table cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li>
except=field1,field2,field3
except = field1,field2,field3 code>将显示表中除指定字段外的所有行 li>cssClass=class1,class2 will add class1 and class2 to the class attribut of the table cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li>
cssClass=class1,class2
cssClass = class1,class2 code>会将class1和class2添加到表的类属性中 li>comments=true|(false) true will use comments specified in each field of the MySql table as datatable column names. comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>pagination=true|(false) will show/hide the bottom pagination links. pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas如果为false,请确保您的limit参数足够大以显示所有数据 li>limit=25 Display 25 rows by default. limit = 25 code>默认显示25行。 li>
comments=true|(false)
comments = true |(false) code> true将使用在MySql表的每个字段中指定的注释作为数据表列名称。If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.
If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.
如果为true,并且缺少注释,则插件仅在缺少字段名称时退回字段名称,而不是整个表。 li>
pagination=true|(false)
pagination = true |(false) code>将显示/隐藏底部的分页链接。If false, make sure you have the limit parameter large enough to display all your datas
If false, make sure you have the limit parameter large enough to display all your datas
如果为false,请确保您的limit参数足够大以显示所有数据 li>
limit=25
limit = 25 code>默认显示25行。 li>
ul>
原文出处:http://www.sanshu.cn/a/10305.html
群主管理都是支付大佬