You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by lg...@apache.org on 2013/12/14 13:41:18 UTC
svn commit: r1550931 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
Author: lgentis
Date: Sat Dec 14 12:41:18 2013
New Revision: 1550931
URL: http://svn.apache.org/r1550931
Log:
Update.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr?rev=1550931&r1=1550930&r2=1550931&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Sat Dec 14 12:41:18 2013
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1523433 -->
+<!-- English Revision : 1550686 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
@@ -1208,7 +1208,7 @@ données et extraire des informati
<highlight language="lua">
function handle(r)
-- connexion à la base de données
- local database, err = r:dbacquire("mysql", "server=localhost,user=root,dbname=mydb")
+ local database, err = r:dbacquire("mysql", "server=localhost,user=someuser,pass=somepass,dbname=mydb")
if not err then
-- Sélection de certaines informations
local results, err = database:select(r, "SELECT `name`, `age` FROM `people` WHERE 1")