hi guys,
i have problems regarding PHP. I cant connect the php page with mysql database. I have installed everything as far as I know. i have changed the conifiguration files. but still i cant access the database via the pages!

im creating a recruitment site(job search) and people should add, edit and delete data on the web.

the apache compiles/runs the php but when i add the "mysql_connect" line the page gets blank!.. i dont know why!

Please help me, this is an important project for me.
thanking you in adavnce.

Recommended Answers

stick this at the top of the file and run it again

ini_set("display_errors", "1");
error_reporting (E_ALL);

Once we can see an error, then maybe someone can better diagnose the issue.

Also stick a die command after your mysql_connect() function do this

mysql_connect(blah blah …
Jump to Post

All 3 Replies

stick this at the top of the file and run it again

ini_set("display_errors", "1");
error_reporting (E_ALL);

Once we can see an error, then maybe someone can better diagnose the issue.

Also stick a die command after your mysql_connect() function do this

mysql_connect(blah blah blah) or die(mysql_error());

hi guys,
The problem when i use firefox it displays a blank page. But when i use IE it says "INTERNAL ERROR 5000" page cannot be displayed.

I have tried almost everything and this is a very important project please help me guys!

what am i missing?

i uncommented the " extension=php_mysql.dll"

added this in the apache configuration files;

AddType application/x-httpd-php .php
LoadModule php5_module "c:\php\php5apache2.dll"
SetEnv PHPRC C:\windows

what else am i missing? Please I need your help, please help me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.