note 57397 added to tutorial

From: Date: Mon, 03 Oct 2005 08:01:52 +0000
Subject: note 57397 added to tutorial
Groups: php.notes 
Request: Send a blank email to php-notes+get-96226@lists.php.net to get a copy of this message
hi, i have one question to ask about my connection to mysql. i am using php 5. When i am trying to connect with the database this error occured " Fatal error: Call to undefined function mysql_pconnect() in D:\www\php_test.php on line 2 " This is my full coding to connect to database " <?php $link = mysql_pconnect('localhost', 'root', 'imagnia'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?> " If there someone can help me, please.... i am already stuck with this problem now. Thank you. ---- Manual Page -- http://www.php.net/manual/en/tutorial.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57397 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57397&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57397&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96226) next »