Skip to content

Commit 450e159

Browse files
committed
fix path to safety page
1 parent 9421138 commit 450e159

File tree

1 file changed

+1
-1
lines changed
  • examples/official-site/your-first-sql-website

1 file changed

+1
-1
lines changed

examples/official-site/your-first-sql-website/index.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ WHERE :Username IS NOT NULL;
134134
```
135135
136136
The snippet above uses an [`INSERT INTO SELECT` SQL statement](https://www.sqlite.org/lang_insert.html) to
137-
[safely](safety.sql) insert a new row into the `users` table when the form is submitted.
137+
[safely](../safety.sql) insert a new row into the `users` table when the form is submitted.
138138
It uses a `WHERE` clause to make sure that the `INSERT` statement is only executed when the `:Username` parameter is present.
139139
The `:Username` parameter is set to `NULL` when you initially load the page, and then SQLPage automatically sets it to the value
140140
from the text field when the user submits the form.

0 commit comments

Comments
 (0)