-   Linux - Software (
-   -   PHP is not talking to Mysql in Fedora (

mahugl 01-30-2004 10:20 PM

PHP is not talking to Mysql in Fedora
I have fedora and PHP and Mysql installed and PHP works Mysql works and fedora works all seperately but when I try to access Mysql through PHP nothing happens. I enter information into the fields and they go blank but nothing gets entered into Mysql. I don't get any error messages or anything like that is just goes blank. Is there something that I am missing in the installation. Any help would be appreciated even if you are guessing. Thanks

alar 01-30-2004 11:13 PM

I haven't done it myself, but I have seen references to this site:

Tafta 02-03-2004 12:03 AM

perhaps you have to let php display the error message, search for its configuration in php.ini.
If everything is done correctly (php works, mysql works) but still can't connect to mysql through php perhaps you should reinstall them (still not working? reinstall your linux. Its radical but it works sometime).
If you have better solution, tell us (people who reinstall linux to solve this problem).

Pcghost 02-03-2004 12:11 AM

If PHP works, you can add the following to the end of your queries to get errors.

Example Query

mysql_query("Select * From Table) or die(mysql_error());

kevinatkins 02-03-2004 03:55 AM

hi mahugl,

just a quick question - are you embedding your PHP in web pages?

All times are GMT -5. The time now is 02:20 PM.