Hi Marc,<div>While looking at "tbl_zoom_select.php":-</div><div><br></div><div>Line 191-201</div><div><div>if (isset($inputs) && ($inputs[0] != 'pma_null' || $inputs[1] != 'pma_null')) {</div>



<div>    $flag = 2;</div><div>    for ($i = 0 ; $i < 4 ; $i++) {</div><div>        if ($inputs[$i] != 'pma_null') {</div><div>            $key = array_search($inputs[$i], $fields_list);</div><div>            $tbl_fields_type[$i] = $fields_type[$key];</div>



<div>            $tbl_fields_collation[$i] = $fields_collation[$key];</div><div>            $tbl_fields_null[$i] = $fields_null[$key];</div><div>        }</div><div>    }</div><div>}</div></div><div><br></div><div>As the condition would be true in cases when post param $inputs is set and has index 0 or 1 set to some column name. It would mostly happen if a half or full filled search form is submitted, but there seems to be no further use of $tbl_fields_collation & $tbl_fields_null. Though $tbl_fields_type gets used afterwards with indexes >= 4.</div>



<div>I think as a result after the zoom plot is displayed, clicking at "show search criteria" doesn't show any previously filled criteria.</div><div>I also didn't understand the use of $flag variable.</div>



<div><br></div><div>Thanks</div>-- <br>Atul Pratap Singh<div>Senior Undergraduate Student</div><div>Institute Of Technology,<br>Banaras Hindu University, Varanasi,<br>India.</div><br>