hey you guys...dont worry bout it....you all who are having trouble with mysql even after doing everything right..just follow this:
--remove the semicolon from ;extension=php_mysql.dll in php.ini
--make sure that the extension_dir is correct.
--copy the php5apache2.dll or php5apache2_2.dll (depending on whether ur using apache 2.0 or apache 2.2) and libmysql.dll files in ur c:/windows directory.
--make sure that the same copy of php.ini exists in the c:/windows directory AS WELL AS in ur main php folder.
enjoy!!