didou Thu Jul 22 09:32:57 2004 EDT
Modified files:
/phpdoc/en/reference/msql reference.xml
/phpdoc/en/reference/sesam/functions sesam-query.xml
/phpdoc/en/reference/xslt/functions xslt-process.xml
Log:
fix parse errors
http://cvs.php.net/diff.php/phpdoc/en/reference/msql/reference.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/msql/reference.xml
diff -u phpdoc/en/reference/msql/reference.xml:1.11
phpdoc/en/reference/msql/reference.xml:1.12
--- phpdoc/en/reference/msql/reference.xml:1.11 Wed Mar 3 02:33:37 2004
+++ phpdoc/en/reference/msql/reference.xml Thu Jul 22 09:32:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<reference id="ref.msql">
<title>mSQL Functions</title>
<titleabbrev>mSQL</titleabbrev>
@@ -43,8 +43,8 @@
$link = msql_connect('localhost', 'username', 'password')
or die('Could not connect : ' . msql_error($link));
-msql_select_db('database')
- or die('Could not select database', $link);
+msql_select_db('database', $link)
+ or die('Could not select database');
/* Issue SQL query */
$query = 'SELECT * FROM my_table';
http://cvs.php.net/diff.php/phpdoc/en/reference/sesam/functions/sesam-query.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/sesam/functions/sesam-query.xml
diff -u phpdoc/en/reference/sesam/functions/sesam-query.xml:1.5
phpdoc/en/reference/sesam/functions/sesam-query.xml:1.6
--- phpdoc/en/reference/sesam/functions/sesam-query.xml:1.5 Sat Dec 20 20:05:41
2003
+++ phpdoc/en/reference/sesam/functions/sesam-query.xml Thu Jul 22 09:32:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
<refentry id="function.sesam-query">
<refnamediv>
@@ -64,7 +64,7 @@
$result = sesam_query("select * from phone");
if (!$result) {
$err = sesam_diagnostic();
- die $err["errmsg"]);
+ die ($err["errmsg"]);
}
echo "<table border>\n";
// Add title header with column names above the result:
http://cvs.php.net/diff.php/phpdoc/en/reference/xslt/functions/xslt-process.xml?r1=1.14&r2=1.15&ty=u
Index: phpdoc/en/reference/xslt/functions/xslt-process.xml
diff -u phpdoc/en/reference/xslt/functions/xslt-process.xml:1.14
phpdoc/en/reference/xslt/functions/xslt-process.xml:1.15
--- phpdoc/en/reference/xslt/functions/xslt-process.xml:1.14 Wed May 19 16:50:17
2004
+++ phpdoc/en/reference/xslt/functions/xslt-process.xml Thu Jul 22 09:32:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<!-- splitted from ./en/functions/xslt.xml, last change in rev 1.3 -->
<refentry id="function.xslt-process">
<refnamediv>
@@ -156,7 +156,7 @@
echo "</pre>\n";
} else {
echo "Sorry, sample.xml could not be transformed by sample.xsl into";
- echo " the \$result variable the reason is that " . xslt_error($xh) .
+ echo " the \$result variable the reason is that " . xslt_error($xh);
echo " and the error code is " . xslt_errno($xh);
}
xslt_free($xh);