discourse-legacysite-perl/site/slowtwitch.com/cgi-bin/articles/admin/mysqlman/templates/help_browse.html
2024-06-17 21:49:12 +10:00

113 lines
4.1 KiB
HTML

<HTML>
<HEAD>
<TITLE> MySQLMan Help - Record Display</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1><font face="Verdana, Arial, Helvetica">MySQLMan Help</font></H1>
<TABLE width=100%>
<TR>
<TD align="right" valign="top">
<HR>
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=toolbar"><font face="Verdana, Arial, Helvetica" size="2">Tool bar</font></a>
</B>
&nbsp;&nbsp;&nbsp;
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=home"><font face="Verdana, Arial, Helvetica" size="2">HOME</font></a>
</B>
</TD>
</TR>
</TABLE>
<TABLE width=100% cellpadding=20>
<TR><TD>
<H2><font face="Verdana, Arial, Helvetica">Record Display</font></H2>
<FONT face="Verdana, Arial, Helvetica" size="2">
<P>
Browse displays all the records in the table specified. If the page is arrived from the <a href="<%script_url%>?<%do_param%>=help&help_topic=select">select/search</a> form,
then records that satisfy the searching criteria are displayed here.
</P>
<P>
If the page is arrived from <a href="<%script_url%>?<%do_param%>=help&help_topic=sql_monitor">SQL Monitor</a>,
then the result of the query entered is displayed here as well. The moniter text
window is present on top of the result table so that another query can be entered conveniently.
</P>
<UL>
<li><B>Delete / Edit</B>
<BR>You can delete/edit a record at a time by clicking on "delete"/"<a href="<%script_url%>?<%do_param%>=help&help_topic=edit">edit</a>" link at the end of each record.
However, there must be a primary key in the table. If there is not a primary key, then the links are disabled.
By default, you will be prompted to confirm your action before deleting a record. However, you can turn
the option off by setting <i>confirm_delete_record</i> to 0 in the config file (mysql.cfg).
<P>
Also, these actions are not available if a query was sent to MySQL using <a href="<%script_url%>?<%do_param%>=help&help_topic=sql_monitor">SQL Monitor</a>.
</li>
<P>
<li>
<B>Jumping though pages</B>
<BR>If the number of records displayed is greater than <i>page_length</i>, then you can go to a page directly by entering the page number in the input box next to "Goto Page:". Then, click "Go" to go to page. You can also "flip" through the pages by clicking on "Next page"/"Privious page"/"Top page" to goto next/previous/first page. Please refer to <B>Number of records per page</B> for more details on how to set <i>page_length</i>.
</li>
<P>
<li>
<B>Null values</B>
<BR>If a cell is null, then <font color=green>NULL</font> will be displayed in the cell. If you would like the cell to be blank instead, you can turn the option off in the config file (mysql.cfg). Set <i>show_null</i> in <font color=brown>%config</font> to <B>0</B> to turn the option off.
</li>
<P>
<li>
<B>Number of records per page</B>
<BR>The number of records per page can be set in the config file (mysql.cfg). This can be changed by
changing <i>page_length</i> in <font color=brown>%config</font>. The default value is 20.
</li>
<P>
<li>
<B>Sort by column</B>
<BR>The records can be sorted by different fields. The this can be done by clicking on the column names. By default, the result is sorted by the first column.
Please note that results from <a href="<%script_url%>?<%do_param%>=help&help_topic=sql_monitor">SQL monitor</a> cannot be
sorted this way. ORDER BY... clause needs to be specified by the user in the query.
</li>
</UL>
</FONT>
</TD>
</TR>
</TABLE>
<TABLE width=100%>
<TR>
<TD align="right" valign="top">
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=toolbar"><font face="Verdana, Arial, Helvetica" size="2">Tool bar</font></a>
</B>
&nbsp;&nbsp;&nbsp;
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=home"><font face="Verdana, Arial, Helvetica" size="2">HOME</font></a>
</B>
<HR>
</TD>
</TR>
<TR>
<TD>
<font face="Verdana, Arial, Helvetica" size="2">
Related topics:
<a href="<%script_url%>?<%do_param%>=help&help_topic=select">Select</a> ,
<a href="<%script_url%>?<%do_param%>=help&help_topic=sql_monitor">SQL monitor</a> ,
<a href="<%script_url%>?<%do_param%>=help&help_topic=edit">Edit</a>
</font>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>