Hi Marc,<div>Now that my exams are finished :), I have started to look at the script "tbl_select.php" for planning the refactoring.</div><div>As the script is used for searching a table using a form in the UI, it contains two sections:-</div>

<div>1. If block that "displays the selection form".</div><div>2. else to do the search work.</div><div><br></div><div>Looking at the search form display part, it is done using raw HTML-PHP mix with calls to functions from some library files, so first main concern should be to handle the HTML-PHP mix and convert the code into functions. About that I saw the wiki page for Roadmap to 4.0 [0] :<font face="sans-serif"><span style="font-size:19px;line-height:19px">-</span></font></div>

<div> "<span style="line-height:19px;font-size:13px;font-family:sans-serif">The current <html> and <?php> mix will be cleaned up in the process. The <html> output will be moved to lib/include files which can be called by either the index page or by the specific files (which can still be referenced separately).</span>"</div>

<div><br></div><div>So, to move HTML to lib/include files, slicing proper reusable HTML blocks from the script should be done, followed by moving it to a lib/include file, and then calling the include file at proper places. Is this the way, I should proceed ?</div>
<div><br></div><div>[0] <a href="http://wiki.phpmyadmin.net/pma/FOSDEM_2012_Meeting">http://wiki.phpmyadmin.net/pma/FOSDEM_2012_Meeting</a></div>
<div><br></div><div>Regards</div><div>-- <br>Atul Pratap Singh<div>Senior Undergraduate Student</div><div>Institute Of Technology,<br>Banaras Hindu University, Varanasi,<br>India.</div><br>
</div>