svn: /phpdoc/en/trunk/reference/mssql/functions/ mssql-init.xml
| From: | Adam Harvey | Date: | Thu, 06 Jan 2011 01:41:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mssql/functions/ mssql-init.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7619@lists.php.net to get a copy of this message | ||
aharvey Thu, 06 Jan 2011 01:41:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307144
Log:
Fix doc bug #53660 (There is an error in the code provided in Example #1).
Bugs: http://bugs.php.net/53660 (Assigned) There is an error
in the code provided in Example #1
http://bugs.php.net/1 (Bogus) Apache 1.3b3 + mod_php3 is
slow
Changed paths:
U phpdoc/en/trunk/reference/mssql/functions/mssql-init.xml
Modified: phpdoc/en/trunk/reference/mssql/functions/mssql-init.xml
===================================================================
--- phpdoc/en/trunk/reference/mssql/functions/mssql-init.xml 2011-01-06 00:08:59 UTC (rev 307143)
+++ phpdoc/en/trunk/reference/mssql/functions/mssql-init.xml 2011-01-06 01:41:35 UTC (rev 307144)
@@ -62,8 +62,8 @@
<![CDATA[
<?php
// Connect to MSSQL and select the database
-mssql_connect('KALLESPC\SQLEXPRESS', 'sa', 'phpfi');
-mssql_select_db('php');
+$link = mssql_connect('KALLESPC\SQLEXPRESS', 'sa', 'phpfi');
+mssql_select_db('php', $link);
// Create a new statement
$stmt = mssql_init('StatementTest', $link);