- GUI
- Windows API tutorial
- Introduction to Windows API
- Windows API main functions
- System functions in Windows API
- Strings in Windows API
- Date & time in Windows API
- A window in Windows API
- First steps in UI
- Windows API menus
- Windows API dialogs
- Windows API controls I
- Windows API controls II
- Windows API controls III
- Advanced controls in Windows API
- Custom controls in Windows API
- The GDI in Windows API
- PyQt4 tutorial
- PyQt5 tutorial
- Qt4 tutorial
- Introduction to Qt4 toolkit
- Qt4 utility classes
- Strings in Qt4
- Date and time in Qt4
- Working with files and directories in Qt4
- First programs in Qt4
- Menus and toolbars in Qt4
- Layout management in Qt4
- Events and signals in Qt4
- Qt4 Widgets
- Qt4 Widgets II
- Painting in Qt4
- Custom widget in Qt4
- The Breakout game in Qt4
- Qt5 tutorial
- Introduction to Qt5 toolkit
- Strings in Qt5
- Date and time in Qt5
- Containers in Qt5
- Working with files and directories in Qt5
- First programs in Qt5
- Menus and toolbars in Qt5
- Layout management in Qt5
- Events and signals in Qt5
- Qt5 Widgets
- Qt5 Widgets II
- Painting in Qt5
- Custom widget in Qt5
- Snake in Qt5
- The Breakout game in Qt5
- PySide tutorial
- Tkinter tutorial
- Tcl/Tk tutorial
- Qt Quick tutorial
- Java Swing tutorial
- JavaFX tutorial
- Java SWT tutorial
- wxWidgets tutorial
- Introduction to wxWidgets
- wxWidgets helper classes
- First programs in wxWidgets
- Menus and toolbars in wxWidgets
- Layout management in wxWidgets
- Events in wxWidgets
- Dialogs in wxWidgets
- wxWidgets widgets
- wxWidgets widgets II
- Drag and Drop in wxWidgets
- Device Contexts in wxWidgets
- Custom widgets in wxWidgets
- The Tetris game in wxWidgets
- wxPython tutorial
- Introduction to wxPython
- First Steps
- Menus and toolbars
- Layout management in wxPython
- Events in wxPython
- wxPython dialogs
- Widgets
- Advanced widgets in wxPython
- Drag and drop in wxPython
- Internationalisation
- Application skeletons in wxPython
- The GDI
- Mapping modes
- Creating custom widgets
- Tips and Tricks
- wxPython Gripts
- The Tetris game in wxPython
- C# Winforms Mono tutorial
- Java Gnome tutorial
- Introduction to Java Gnome
- First steps in Java Gnome
- Layout management in Java Gnome
- Layout management II in Java Gnome
- Menus in Java Gnome
- Toolbars in Java Gnome
- Events in Java Gnome
- Widgets in Java Gnome
- Widgets II in Java Gnome
- Advanced widgets in Java Gnome
- Dialogs in Java Gnome
- Pango in Java Gnome
- Drawing with Cairo in Java Gnome
- Drawing with Cairo II
- Nibbles in Java Gnome
- QtJambi tutorial
- GTK+ tutorial
- Ruby GTK tutorial
- GTK# tutorial
- Visual Basic GTK# tutorial
- PyGTK tutorial
- Introduction to PyGTK
- First steps in PyGTK
- Layout management in PyGTK
- Menus in PyGTK
- Toolbars in PyGTK
- Signals & events in PyGTK
- Widgets in PyGTK
- Widgets II in PyGTK
- Advanced widgets in PyGTK
- Dialogs in PyGTK
- Pango
- Pango II
- Drawing with Cairo in PyGTK
- Drawing with Cairo II
- Snake game in PyGTK
- Custom widget in PyGTK
- PHP GTK tutorial
- C# Qyoto tutorial
- Ruby Qt tutorial
- Visual Basic Qyoto tutorial
- Mono IronPython Winforms tutorial
- Introduction
- First steps in IronPython Mono Winforms
- Layout management
- Menus and toolbars
- Basic Controls in Mono Winforms
- Basic Controls II in Mono Winforms
- Advanced Controls in Mono Winforms
- Dialogs
- Drag & drop in Mono Winforms
- Painting
- Painting II in IronPython Mono Winforms
- Snake in IronPython Mono Winforms
- The Tetris game in IronPython Mono Winforms
- FreeBASIC GTK tutorial
- Jython Swing tutorial
- JRuby Swing tutorial
- Visual Basic Winforms tutorial
- JavaScript GTK tutorial
- Ruby HTTPClient tutorial
- Ruby Faraday tutorial
- Ruby Net::HTTP tutorial
- Java 2D games tutorial
- Java 2D tutorial
- Cairo graphics tutorial
- PyCairo tutorial
- HTML5 canvas tutorial
- Python tutorial
- Python language
- Interactive Python
- Python lexical structure
- Python data types
- Strings in Python
- Python lists
- Python dictionaries
- Python operators
- Keywords in Python
- Functions in Python
- Files in Python
- Object-oriented programming in Python
- Modules
- Packages in Python
- Exceptions in Python
- Iterators and Generators
- Introspection in Python
- Ruby tutorial
- PHP tutorial
- Visual Basic tutorial
- Visual Basic
- Visual Basic lexical structure
- Basics
- Visual Basic data types
- Strings in Visual Basic
- Operators
- Flow control
- Visual Basic arrays
- Procedures & functions in Visual Basic
- Organizing code in Visual Basic
- Object-oriented programming
- Object-oriented programming II in Visual Basic
- Collections in Visual Basic
- Input & output
- Tcl tutorial
- C# tutorial
- Java tutorial
- AWK tutorial
- Jetty tutorial
- Tomcat Derby tutorial
- Jtwig tutorial
- Android tutorial
- Introduction to Android development
- First Android application
- Android Button widgets
- Android Intents
- Layout management in Android
- Android Spinner widget
- SeekBar widget
- Android ProgressBar widget
- Android ListView widget
- Android Pickers
- Android menus
- Dialogs
- Drawing in Android
- Java EE 5 tutorials
- Introduction
- Installing Java
- Installing NetBeans 6
- Java Application Servers
- Resin CGIServlet
- JavaServer Pages, (JSPs)
- Implicit objects in JSPs
- Shopping cart
- JSP & MySQL Database
- Java Servlets
- Sending email in a Servlet
- Creating a captcha in a Servlet
- DataSource & DriverManager
- Java Beans
- Custom JSP tags
- Object relational mapping with iBATIS
- Jsoup tutorial
- MySQL tutorial
- MySQL quick tutorial
- MySQL storage engines
- MySQL data types
- Creating, altering and dropping tables in MySQL
- MySQL expressions
- Inserting, updating, and deleting data in MySQL
- The SELECT statement in MySQL
- MySQL subqueries
- MySQL constraints
- Exporting and importing data in MySQL
- Joining tables in MySQL
- MySQL functions
- Views in MySQL
- Transactions in MySQL
- MySQL stored routines
- MySQL Python tutorial
- MySQL Perl tutorial
- MySQL C API programming tutorial
- MySQL Visual Basic tutorial
- MySQL PHP tutorial
- MySQL Java tutorial
- MySQL Ruby tutorial
- MySQL C# tutorial
- SQLite tutorial
- SQLite C tutorial
- SQLite PHP tutorial
- SQLite Python tutorial
- SQLite Perl tutorial
- SQLite Ruby tutorial
- SQLite C# tutorial
- SQLite Visual Basic tutorial
- PostgreSQL C tutorial
- PostgreSQL Python tutorial
- PostgreSQL Ruby tutorial
- PostgreSQL PHP tutorial
- PostgreSQL Java tutorial
- Apache Derby tutorial
- SQLAlchemy tutorial
- MongoDB PHP tutorial
- MongoDB Java tutorial
- MongoDB JavaScript tutorial
- MongoDB Ruby tutorial
- Spring JdbcTemplate tutorial
- JDBI tutorial
Installation
To work with this tutorial, you must install several packages. The apache2
, libapache2-mod-php5
, php5-sqlite
packages. The sqlite
command line tool is optional, but recommended.
The document root directory is a directory, where you place your HTML and PHP files. It is a place, where the Apache server looks for the files that make up the web site.
The document root for apache2
server can be changed at /etc/apache2/sites-available/default
file. This is for Ubuntu.
DocumentRoot /var/www/
This is a portion of the above mention configuration file. The default document root directory is /var/www
.
We should also edit the php.ini
file to turn the magic quotes off. Since PHP 5.3.0 they are off by default. On my system, I have currently PHP 5.2.6 so I had to edit the php.ini
file. It is located at /etc/php5/apache2/php.ini
on my system.
Magic Quotes is a process that automatically escapes incoming data to the PHP script. It is preferred to code with magic quotes off and to instead escape the data at runtime, as needed. We are going to use sqlite_escape_string()
function to escape strings if necessary.
; Magic quotes ; ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \'). magic_quotes_sybase = Off
This is a portion of the php.ini
file. Magic quotes are off. If we edited the file while Apache was running, we have to restart the Apache server.
We are also going to create a directory, where we will have our SQLite database files. In the document root directory, /var/www
on my Ubuntu system, we create a directory called db
.
$ pwd /var/www $ ls -ld db drwxrwxrwx 2 root root 4096 2009-12-01 22:04 db
A web server must have a write & execute access to the directory. It is convenient to have a read access too.
$ pwd /var/www/db $ ls -l test.db -rw-rw-rw- 1 root root 6144 2009-12-01 22:04 test.db
Inside the db
directory, we create a test.db
file with read and write access rights.
SQLite database is called a zero configuration database. The only problems that could arise are insufficient access rights.
First example
Our first example will test the version of the SQLite library and the version of the PHP language. If it works, we have all installed correctly.
We create a simple PHP script and give it a name version.php
. We place it into the document root directory. It is /var/www
on my system. We ensure that the Apache server is running.
$ /etc/init.d/apache2 status * Apache is running (pid 22965).
We check if the Apache server is running. To start the server, we can use the /etc/init.d/apache2 start
command.
<?php echo sqlite_libversion(); echo "<br>"; echo phpversion(); ?>
Now we start the browser and locate to http://localhost/version.php
.
The PHP code shows 2.8.17 and 5.2.6-2ubuntu4.5 strings on our system.

Creating a table
In the following PHP code, we will create a database table.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $stm = "CREATE TABLE Friends(Id integer PRIMARY KEY," . "Name text UNIQUE NOT NULL, Sex text CHECK(Sex IN ('M', 'F')))"; $ok = sqlite_exec($dbhandle, $stm, $error); if (!$ok) die("Cannot execute query. $error"); echo "Database Friends created successfully"; sqlite_close($dbhandle); ?>
Besides creating a database table, we do some error checking.
$dbhandle = sqlite_open('db/test.db', 0666, $error);
The sqlite_open()
function opens a SQLite database. The function has three parameters. The first parameter is the filename of the database. According to the documentation, the second parameter is ignored currently. The 0666 is the recommended value. If we cannot open the database, an error message is put into the $error
variable.
if (!$dbhandle) die ($error);
The sqlite_open()
function returns a database handle on success or FALSE on error. The die()
function outputs an error message and terminates the script.
$stm = "CREATE TABLE Friends(Id integer PRIMARY KEY," . "Name text UNIQUE NOT NULL, Sex text CHECK(Sex IN ('M', 'F')))";
The $stm
variable holds the SQL statement to create a Friends
database table. Note that there are two strings concatenated with the dot operator.
$ok = sqlite_exec($dbhandle, $stm, $error);
The sqlite_exec()
executes a result-less statement against the database. The first parameter is the database handle that we obtained with the sqlite_open()
function. The second parameter is the statement that we are about to execute. And the last parameter is the possible error message. This is usually due to a syntax error. The function returns TRUE for success or FALSE for failure.
if (!$ok) die("Cannot execute query. $error");
We check for possible errors. There could be two types of errors. SQL syntax error or insufficient permissions.
echo "Database Friends created successfully";
If all went OK, we print a message 'Database Friends created successfully'. If there is some error, this message is not printed, because the die()
function terminates the execution of the PHP script.
sqlite_close($dbhandle);
We close the database handle. It is not necessary to do it explicitly. PHP language does it automatically. But it is a good programming practice to do it.
Inserting data
In the following example, we will insert some data into Friends
database.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $stm1 = "INSERT INTO Friends VALUES(1,'Jane', 'F')"; $stm2 = "INSERT INTO Friends VALUES(2,'Thomas', 'M')"; $stm3 = "INSERT INTO Friends VALUES(3,'Franklin', 'M')"; $ok1 = sqlite_exec($dbhandle, $stm1); if (!$ok1) die("Cannot execute statement."); $ok2 = sqlite_exec($dbhandle, $stm2); if (!$ok2) die("Cannot execute statement."); $ok3 = sqlite_exec($dbhandle, $stm3); if (!$ok3) die("Cannot execute statement."); echo "Data inserted successfully"; sqlite_close($dbhandle); ?>
We insert some data. We don't retrieve any data. Therefore we use again the sqlite_exec()
function.
$stm1 = "INSERT INTO Friends VALUES(1,'Jane', 'F')"; $stm2 = "INSERT INTO Friends VALUES(2,'Thomas', 'M')"; $stm3 = "INSERT INTO Friends VALUES(3,'Franklin', 'M')";
Here we have three statements that will insert three rows into the Friends
database.
$ok1 = sqlite_exec($dbhandle, $stm1); if (!$ok1) die("Cannot execute statement.");
We execute the first statement. If something goes wrong, the script is terminated.
What if we wanted to add a name like O'Neil? The single quote ' character belongs to some unsafe characters. Using them could lead to problems. We must properly escape them. The single quote character is escaped by using another single quote character. Note that it is easily confused with a double quote character.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $name = "O'Neill"; $name_es = sqlite_escape_string($name); $stm = "INSERT INTO Friends VALUES(4,'$name_es', 'M')"; $ok1 = sqlite_exec($dbhandle, $stm); if (!$ok1) die("Cannot execute statement."); echo "Data inserted successfully"; sqlite_close($dbhandle); ?>
In this code example, we add a fourth row to the Friends
table.
$name = "O'Neil";
We have a name with a single quote character in it.
$name_es = sqlite_escape_string($name);
To escape the string, we use the sqlite_escape_string()
function. The returned string is O''Neill.
$stm = "INSERT INTO Friends VALUES(4,'$name_es', 'M')";
We build the SQL statement with the $name_es
variable.
sqlite> SELECT * FROM Friends; Id Name Sex ---------- ---------- ---------- 1 Jane F 2 Thomas M 3 Franklin M 4 O'Neil M
We look with the sqlite
command line tool, what we have in the table. All is OK.
Retrieving data
There are multiple ways, how we can retrieve data from a table.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $query = "SELECT Name, Sex FROM Friends"; $result = sqlite_query($dbhandle, $query); if (!$result) die("Cannot execute query."); $row = sqlite_fetch_array($result, SQLITE_ASSOC); print_r($row); echo "<br>"; sqlite_rewind($result); $row = sqlite_fetch_array($result, SQLITE_NUM); print_r($row); echo "<br>"; sqlite_rewind($result); $row = sqlite_fetch_array($result, SQLITE_BOTH); print_r($row); echo "<br>"; sqlite_close($dbhandle); ?>
To fetch data from the table, we can use the sqlite_fetch_array()
.
$query = "SELECT Name, Sex FROM Friends"; $result = sqlite_query($dbhandle, $query);
We build a SELECT query and execute the query with the sqlite_query()
function. The function returns a result set, e.g. all data from the query.
The sqlite_fetch_array()
does two things. Moves the pointer to the next row and returns that row from the result set. The row is is an array. We can control how the data is organized in the array, by using three result type flags. SQLITE_ASSOC
, SQLITE_NUM
, SQLITE_BOTH
. Using the first flag we will have an associative array. Using the second one, we will have a numerical array. The third option is the default option also. Using this flag, we will have both arrays with associative indexes and numerical indexes. The print_r()
function returns a human readable representation of a variable. In our case, we can inspect what we have in an array.
$row = sqlite_fetch_array($result, SQLITE_ASSOC); print_r($row); echo "<br>";
Here we fetch the first row from the result set. We use the SQLITE_ASSOC
flag. Which means, we can access data from the array using string indexes. The indexes are column names of the table. These are Name
and Sex
column names. Note that the SQL select statement did not include the id column.
sqlite_rewind($result);
The sqlite_rewind()
function makes the pointer point to the first row of the result set. We use this function because we want to compare three flags on the same row. For the sake of the clarity of the explanation.

In the following example, we will traverse the data using the associative indexes.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $query = "SELECT Name, Sex FROM Friends"; $result = sqlite_query($dbhandle, $query); if (!$result) die("Cannot execute query."); while ($row = sqlite_fetch_array($result, SQLITE_ASSOC)) { echo $row['Name'] . " : " . $row['Sex']; echo "<br>"; } sqlite_close($dbhandle); ?>
We traverse all data in our table. More specifically, four rows in the Friends table.
while ($row = sqlite_fetch_array($result, SQLITE_ASSOC)) { echo $row['Name'] . " : " . $row['Sex']; echo "<br>"; }
We can use the while
loop to go through all rows of the result set. The sqlite_fetch_array()
returns FALSE if the next position is beyond the final row and the loop stops.
echo $row['Name'] . " : " . $row['Sex'];
We get the data from the array using the string indexes. These are the column names of the Friends
table.
while ($row = sqlite_fetch_array($result, SQLITE_NUM)) { echo $row[0] . " : " . $row[1]; echo "<br>"; }
Same loop with the SQLITE_NUM
flag.
Columns & rows
Next, we are going to count the number of rows and columns in our result set.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $query = "SELECT * FROM Friends LIMIT 2"; $result = sqlite_query($dbhandle, $query); if (!$result) die("Cannot execute query."); $rows = sqlite_num_rows($result); $cols = sqlite_num_fields($result); echo "The result set has $rows rows and $cols columns"; sqlite_close($dbhandle); ?>
The functions get the numbers from the result set. This means that the number of rows and columns calculated depend on the SQL statement that we use to obtain the data from the database table.
$query = "SELECT * FROM Friends LIMIT 2";
Here we build the SQL query. We get all columns from the table. And we limit the number of rows to 2.
$rows = sqlite_num_rows($result); $cols = sqlite_num_fields($result);
The sqlite_num_rows()
returns the number of rows in our result set. sqlite_num_fields()
returns the number of columns/fields from the result set.
We get this string 'The result set has 2 rows and 3 columns'.
The next PHP script will display the data from the Friends
table with the names of the columns.
$dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $query = "SELECT Name, Sex FROM Friends"; $result = sqlite_query($dbhandle, $query); if (!$result) die("Cannot execute query."); $rows = sqlite_num_rows($result); $field1 = sqlite_field_name($result, 0); $field2 = sqlite_field_name($result, 1); echo "<table style='font-size:12;font-family:verdana'>"; echo "<thead><tr>"; echo "<th align='left'>$field1</th>"; echo "<th align='left'>$field2</th>"; echo "</tr></thead>"; for ($i = 0; $i < $rows; $i++) { $row = sqlite_fetch_array($result, SQLITE_NUM); echo "<tr>"; echo "<td>$row[0]</td>"; echo "<td>$row[1]</td>"; echo "</tr>"; } echo "</table>"; sqlite_close($dbhandle); ?>
$field1 = sqlite_field_name($result, 0); $field2 = sqlite_field_name($result, 1);
The sqlite_field_name()
returns the name of a particular field. Our SQL query returns two columns. The first function returns 'Name', the second 'Sex'.
echo "<thead><tr>"; echo "<th align='left'>$field1</th>"; echo "<th align='left'>$field2</th>"; echo "</tr></thead>";
We put the two column names into the HTML table header.
for ($i = 0; $i < $rows; $i++) { $row = sqlite_fetch_array($result, SQLITE_NUM); echo "<tr>"; echo "<td>$row[0]</td>"; echo "<td>$row[1]</td>"; echo "</tr>"; }
We use yet another way to retrieve data from the result set. We count the number of rows. And use the for
cycle to go through the data.
The next PHP script will display column types of the Friends
table.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $cols = sqlite_fetch_column_types('Friends', $dbhandle, SQLITE_ASSOC); foreach ($cols as $column => $type) { echo "Column name: $column Column type: $type"; echo "<br>"; } sqlite_close($dbhandle); ?>
$cols = sqlite_fetch_column_types('Friends', $dbhandle, SQLITE_ASSOC);
The sqlite_fetch_column_types()
function returns an array of column types from a particular table. The table name is the first parameter of the function.
foreach ($cols as $column => $type) { echo "Column name: $column Column type: $type"; echo "<br>"; }
We go through the array using the foreach
keyword.
Listing available tables
The next example will list all available tables from the current database.
sqlite> .tables Books Cars Friends
Using the sqlite3
tool we list the available tables.
<?php $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $query = "SELECT name, sql FROM sqlite_master WHERE type='table'"; $result = sqlite_query($dbhandle, $query, SQLITE_NUM); if (!$result) die("Cannot execute query."); while (sqlite_has_more($result)) { $row = sqlite_fetch_array($result); echo "table: $row[0], sql: $row[1]"; echo "<br>"; } sqlite_close($dbhandle); ?>
We use the sqlite_master
table to obtain the list of tables for the database.
$query = "SELECT name, sql FROM sqlite_master WHERE type='table'";
This is the query. The name column of the sqlite_master
table gives us the table name. The SQL column gives us the SQL used to create that table.
while (sqlite_has_more($result)) { $row = sqlite_fetch_array($result); echo "table: $row[0], sql: $row[1]"; echo "<br>"; }
The while
loop goes through the rows of the result set. We use a new function. sqlite_has_more()
returns TRUE if there are more rows available from the result set, or FALSE otherwise.
Simple form example
In our last example, we will work with a simple HTML form. Submitting the form, we add a new friend to the Friends
table.
<html> <head> <title>SQLite PHP tutorial</title> </head> <body style="font-size:12;font-family:verdana"> <form action="add.php" method="post"> <p> Name: <input type="text" name="name"><br> Male: <input type="radio" value="M" name="gender"><br> Female: <input type="radio" value="F" name="gender"> </p> <p> <input type="submit"> </p> </form> </body> </html>
In our HTML form we have one text box and one radio box. We enter a name of a friend in the text box. The radio box determines the gender. The action property of the HTML form points to the add.php
script. This means that upon submitting the form the add.php
script will run.
<?php $gender = $_POST['gender']; $name = $_POST['name']; $name_es = sqlite_escape_string($name); if (!empty($name)) { $dbhandle = sqlite_open('db/test.db', 0666, $error); if (!$dbhandle) die ($error); $stm = "INSERT INTO Friends(Name, Sex) VALUES('$name_es', '$gender')"; $ok = sqlite_exec($dbhandle, $stm, $error); if (!$ok) die("Error: $error"); echo "Form submitted successfully"; } ?>
This is the add.php
script.
$gender = $_POST['gender']; $name = $_POST['name'];
We retrieve the data from the submitted form.
$name_es = sqlite_escape_string($name);
The data from the text box is potentionally unsafe; 'tainted'. We use the sqlite_escape_string
. It escapes a string for use as a query parameter. This is common practice to avoid malicious SQL injection attacks.
$stm = "INSERT INTO Friends(Name, Sex) VALUES('$name_es', '$gender')";
Here we build the SQL statement.
$ok = sqlite_exec($dbhandle, $stm, $error);
The SQL statement is executed.

The image is a screenshot from the application running on localhost.
This was the SQLite PHP tutorial. We covered some basics of programming SQLite with PHP language. We used procedural style of code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论