note 55358 added to faq.misc
| From: | crash_course_00 at yahoo dot com | Date: | Mon, 01 Aug 2005 09:38:10 +0000 |
| Subject: | note 55358 added to faq.misc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92856@lists.php.net to get a copy of this message | ||
when I type this code
<?php
$conn = mysql_connect("localhost", "username", "password");
echo $conn;
?>
it does not display the connection id in the browser, but when i go to the command prompt and access
mysql using the same username and password it connects me,
using MySQL v 4.0 PHP v 5.0 Apache 2.0
i have tried adding a port in the localhost but still no go
----
Submitter IP: 210.5.70.250
----
Manual Page -- http://www.php.net/manual/en/faq.misc.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55358
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55358&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55358&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55358&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55358&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55358&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55358&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55358&report=yes
Search -- http://master.php.net/manage/user-notes.php