• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

mysql not recognised in PHP

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    mysql not recognised in PHP

    My small business website is down. HTML pages show but PHP don't and error log shows "Call to undefined function mysql_connect()".

    It probably won't take very long to update to mysqli but I ain't got the time at mo. and I don't want site down for several days.

    What I can't figure is why this problem has suddenly occurred when PHP is still shown as version 5.6.3. Any ideas re. quick fixes? Ta.
    bloggoth

    If everything isn't black and white, I say, 'Why the hell not?'
    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

    #2
    Sorted

    Support told me that, despite what it said on site details, they had updated to PHP 7 and have put it back to 5.6.

    Prepare for a string of boring technical questions from me on mysqli!
    bloggoth

    If everything isn't black and white, I say, 'Why the hell not?'
    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

    Comment


      #3
      It looks like some kind of issue wth connecting to the version of MySQL you are running.

      Could it be something as simple as a driver upgrade required for the connection?
      The Chunt of Chunts.

      Comment


        #4
        Cheers MM, just posted a minute or two before you to say sorted. Always happens with CUK!
        bloggoth

        If everything isn't black and white, I say, 'Why the hell not?'
        John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

        Comment


          #5
          No mysqli equivalent of mysql_result???? How F* ridiculous!! Why are "improvements" to programming languages always crap?
          bloggoth

          If everything isn't black and white, I say, 'Why the hell not?'
          John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

          Comment


            #6
            Originally posted by xoggoth View Post
            Why are "improvements" to programming languages always crap?
            They arent always crap.

            Anyway, told you to go down the MVC/.NET/SQL Server route. Go for the cheap and cheerful and get bitten.

            Comment


              #7
              Anyway, told you to go down the MVC/.NET/SQL Server route
              Dunno wh, sounds like major changes. In programming I am LAZY, as in everything else. The website itself is pretty efficient with all complicated stuff in a few includes but got lots of tools, invoicing and accounting software too.
              bloggoth

              If everything isn't black and white, I say, 'Why the hell not?'
              John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

              Comment


                #8
                Originally posted by xoggoth View Post
                Dunno wh, sounds like major changes. In programming I am LAZY, as in everything else. The website itself is pretty efficient with all complicated stuff in a few includes but got lots of tools, invoicing and accounting software too.
                Fair and reasonable comment, I take back my grumpy and unreasonable comment.

                Comment

                Working...
                X