PHP MySQL connection problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brock797
    New Member
    • Apr 2007
    • 1

    PHP MySQL connection problem

    hey im just starting to learn php and mysql, i am using CentOS 5 and have all the neccisary programs compiled correctly (apache, php, mysql, etc) i can use mysql from the command line with no flaws, however when i try to connect to mysql from php i get nothing, no errors no text at all just a blank page...i have a mysql_connect.p hp file and the php file i have created to access and change database variables, theres supposed to be an input box and a submit button to submit querys into my database and theres nothing! please help!!!!!
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2
    How could you expecting a answer without posting your codings.

    Comment

    • devsusen
      New Member
      • Feb 2007
      • 136

      #3
      check if u have this parameter set in ur php.ini file

      [PHP]error_reporting (E_ALL ^ E_NOTICE);[/PHP]

      if not set it. It will show errors in ur page.

      susen

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        This is probbly happening because there is an fatal error somwhere that has been suppressed.

        If your putting @ signs in front of your include statments they would suppress fatal errors in the pages you are including.

        It would be much easier to help you if you posted your code (within [ PHP] tags please)

        Comment

        Working...