Jump to content

[SOLVED] no mysql commands will works at all please help


zhahaman2001

Recommended Posts

ok i just installed

 

apache 2.2

php 5

mysql 5

 

and when i write a php file and have any mysql commands the script like jumps right over them and ignores them this is really wierd because i have phpmyadmin installed and that is working fine with both php and mysql becuase i am reading and writeing data with it

 

theres got to be a setting wrong somewhere in my server or something...

anyone have any ideas?

 

 

(if it matters this is how i set my server up)

http://autoindex.sourceforge.net/forum/apache.php?id=0

Well, if you're accessing your mysql database through phpMyAdmin ok, then i would say that php and mysql are installed ok. So, i would guess that display_errors is set to off in your php.ini settings(try changing it to on) and that there is a problem with all your mysql commands. Could it be that you've forgotten to connect?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.