note 82977 added to function.mysql-connect

From: Date: Mon, 05 May 2008 02:06:08 +0000
Subject: note 82977 added to function.mysql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-139060@lists.php.net to get a copy of this message
Error in example; http://us.php.net/manual/en/function.mysql-connect.php Example #3 mysql_connect() example using ":/path/to/socket" syntax <?php // we connect to localhost and socket e.g. /tmp/mysql.sock //variant 1: ommit localhost $link = mysql_connect('/tmp/mysql', 'mysql_user', 'mysql_password'); Correction; $link = mysql_connect(':/tmp/mysql', 'mysql_user', 'mysql_password'); Thanks ---- Server IP: 208.69.120.35 Probable Submitter: 72.169.47.253 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php Edit -- https://master.php.net/note/edit/82977 Del: integrated -- https://master.php.net/note/delete/82977/integrated Del: useless -- https://master.php.net/note/delete/82977/useless Del: bad code -- https://master.php.net/note/delete/82977/bad+code Del: spam -- https://master.php.net/note/delete/82977/spam Del: non-english -- https://master.php.net/note/delete/82977/non-english Del: in docs -- https://master.php.net/note/delete/82977/in+docs Del: other reasons-- https://master.php.net/note/delete/82977 Reject -- https://master.php.net/note/reject/82977 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139060) next »