Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <from action="" method="post">
- <input type="text" name="database">
- <input type="text" name="tekst">
- <input type="submit" value="Zapisz">
- </form>
- <?php
- $db = ($_POST['database']);
- mysql_select_db("$database");
- $comments = "CREATE TABLE Comments (id char(3) NOT NULL, name char(30), date char(10), mail char(10), wiadomosc char(100), PRIMARY KEY(id))";
- $wykonaj=mysql_query($comments);
- mysql_close($sql);
- ?>
Add Comment
Please, Sign In to add comment