Permalink
Browse files

Update README.markdown

Fix the quote example
  • Loading branch information...
1 parent 784728f commit 73225c4a611cb9f2d7d79b276ba04290fbadea1d @torhve torhve committed Feb 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -264,7 +264,7 @@ Here is an example:
local name = ngx.unescape_uri(ngx.var.arg_name)
local quoted_name = ngx.quote_sql_str(name)
- local sql = "select * from users where name = " .. name
+ local sql = "select * from users where name = " .. quoted_name
Debugging
=========

0 comments on commit 73225c4

Please sign in to comment.