mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix parse errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164009 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8fa1cb9ad2
commit
22e5ee0001
3 changed files with 7 additions and 7 deletions
|
@ -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';
|
||||
|
|
|
@ -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 @@ if (!sesam_connect("phonedb", "demo", "otto"))
|
|||
$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:
|
||||
|
|
|
@ -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 @@ if ($result) {
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue