$title = 'list of pattern pieces'; $description = 'make a pattern'; include "head.php"; ?>
Click on the pattern piece below to begin construction
include "conf.php"; $id = $_GET['id']; $sq = $db->query("SELECT * FROM drawtb WHERE item_name = '$id'"); while($row = $sq->fetchArray(SQLITE3_ASSOC) ) { $pid = $row['dt_id']; $name = $row['title']; $itemname = $row['item_name']; $xdrval = $row['x_val']; $ydrval = $row['y_val']; echo "$pid $name $itemname