EasySpec

EasySpec: STANDARDS
Insert new Standard RSL Category Analysis Back to Wizard

setQuery("SELECT * FROM standards WHERE company_id='$idcompany'"); $rsllist->execute(); $wa_startindex = 0; while (!$rsllist->atEnd()) { $wa_startindex = $rsllist->Index; ?> getColumnVal("idstandards"); // Assumendo che $conn sia l'oggetto della connessione al database $conn = new mysqli($servername, $username, $password, $database); $query = $conn->prepare("SELECT pdffilename FROM pdfstandards WHERE idstandards = ?"); $query->bind_param("i", $idstandards); $query->execute(); $result = $query->get_result(); $pdfFiles = []; while ($row = $result->fetch_assoc()) { $pdfFiles[] = $row['pdffilename']; } ?> moveNext(); } $rsllist->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>
Standards Name Number Year Active From Active to PDF
getColumnVal("status"); if ($actstatus == "A") { ?> getColumnVal("titlestandards")); ?> getColumnVal("numberstandards")); ?> getColumnVal("yearstandards")); ?> getColumnVal("activefrom")); ?> getColumnVal("activeto")); ?> Open PDF"; } elseif ($pdfCount > 1) { // Più PDF, link alla pagina di gestione $updateUrl = "update-standards.php?id=" . $rsllist->getColumnVal('idstandards'); echo "Manage PDFs"; } else { echo "No PDFs"; // Nessun PDF disponibile } ?> " role="button" data-toggle="tooltip" title="Go"> " role="button" data-toggle="tooltip" title="Delete">