Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Please help me...
I don't know what happen, it never happened before on my other project.
One of my client web site when tried to login it show error at mysql_connect();
The error said there are too many connection.
Here some of my code :Code: Select all
//file -> dbConnection.php
<?php
$user = "acarak01_123";
$password = "123";
$nameDB = "mwga_acaraku";
$con = mysql_connect('localhost',$user,$password);
if(!($con))
{ exit(); }
else
{ mysql_select_db($nameDB); }
?>If it must validate, where must I put my validation?
Thanks for every one that can help me...
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]