Statistiques
| Branche: | Révision :

root / src / pl_features.TSP.php @ a9b72d88

Historique | Voir | Annoter | Télécharger (370 octet)

1 1a2be799 Florent Chuffart
<?php
2 0ce29891 Florent Chuffart
require_once("lib/seq.lib.php");
3 1a2be799 Florent Chuffart
// a Trigger to display plsmid map image
4 1a2be799 Florent Chuffart
$all = $this->myQuery("SELECT * FROM " . $this->tb . " WHERE id=" . $this->rec);
5 1a2be799 Florent Chuffart
// reach the plasmid displayed
6 1a2be799 Florent Chuffart
$obj = mysql_fetch_object($all);
7 1a2be799 Florent Chuffart
if ($obj) {
8 1a2be799 Florent Chuffart
  // display image
9 1a2be799 Florent Chuffart
  if ($obj->Sequence) {
10 1a2be799 Florent Chuffart
                echo '<textarea readonly rows="10" cols="100">'.$obj->Sequence.'</textarea>';
11 1a2be799 Florent Chuffart
  }
12 1a2be799 Florent Chuffart
}
13 1a2be799 Florent Chuffart
14 1a2be799 Florent Chuffart
?>