function reportError() { $_SESSION['mySql_objects']['error'] = true; $_SESSION['mySql_objects']['errorObj'] = getLastError(); }
if ($dbResult) { ?> <p>Successfully inserted line <?php echo $line; ?> into the cl_config table.</p> <?php } else { $errors++; ?> <p>Failed to insert <?php echo $line; ?> line into the cl_callers table: <?php echo getLastError(); ?> </p> <?php } } } } $resultStr = $errors ? "failed" : "successful"; ?> <p><br/></p> <p>CallerList database creation result: <?php echo $resultStr; ?> </p> <p><br/></p>