new way to generate database fromseparate schema.sql

This commit is contained in:
Marc Wäckerlin
2015-11-09 11:13:34 +00:00
parent bd02ae565c
commit 4f8d997805
20 changed files with 314 additions and 125 deletions

View File

@@ -23,8 +23,8 @@
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
require_once("usertable.php");
try {
require_once("opendb.php");
$user = $db->real_escape_string($_REQUEST['user']);
$q = $db->query("select * from user where name='$user';");
if ($q->num_rows==0) {