14c09-2.php
来自「介绍PHP5的给类型函数应用」· PHP 代码 · 共 26 行
PHP
26 行
<?php// This script initializes our blog database for us, making sure // that everything exists.require_once '14c09-1.php';//require_once 'bloglib.php';// If the file already exists, exit with an error:if (file_exists('blog.db')) { die("ERROR: Database Already exists");}// Open the database:$db = blog_connect();// Now, create our blog table, only need the oneblog_query($db, " create table blog ( id integer primary key, date text not null, what text not null )");// Now close the connectionunset($db);?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?