Posts: 379
Threads: 34
Joined: Oct 2009
Reputation:
15
Not really, MySQL connections are automatically closed by the PHP garbage collection bullshit, it doesn't hurt to close the connection but ever since PHP4 it has been done automatically, so I see no point.
Posts: 5
Threads: 1
Joined: Jan 2010
Reputation:
0
01-15-2010, 10:19 AM
(This post was last modified: 01-15-2010, 10:23 AM by Password.)
i m new to php, i m using wamp server ,i dont know how to config php apachi and mysql that's y i used wamp. i 'm still tring ur code
i got these erros
Warning: include(settings.inc.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\ABC\database.php on line 8
Warning: include() [function.include]: Failed opening 'settings.inc.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\ABC\database.php on line 8
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\wamp\www\ABC\database.php on line 9
Could not establish a connection with mysql
in wamp it didnt ask a password. plz help me