i fix the problem, am not sure if WAMPSERVER was also affecting the XAMPP, so what i did is,i remove both and install only WAMPSERVER and use it. then it works perfectly fine.
also, i notice i have to turn off the Skype just to use WAMP or XAMP.
Thanks a Lot guys.
You just need to change the settings in the Skype ⇒ Tools ⇒ Options ⇒ Advanced settings and deselect the option for . Skype does not use the port 3306 used by MySQL as it does not use MySQL at all.
Do you mean to say you actually had both WampServer 2 and XAMPP installed/running at the same time? If so it certainly would have affected things if they were both running at the same time. They both use the same default Apache and MySQL server ports.
Had you actually mentioned this fact in your original post you would not have been wasting everyone's time as the answer would have been obvious!
Marked as resolved.