Results 1 to 2 of 2

Thread: Fatal error: Call to undefined function mysql_die

  1. #1
    Join Date
    Sep 2009
    Posts
    3

    Default Fatal error: Call to undefined function mysql_die

    After i transfered my site into a new host this is what i get when i open the main pages :

    "Fatal error: Call to undefined function mysql_die() in /home/mysite/public_html/index.php on line 27 "

    line 27 of index.php is this : $result = mysql_query($sql) or mysql_die($sql);


    any idea how to solve this problem? :confused:

    thanks!

    - Me.

  2. #2

    Default

    It seems the problem with config.php.

    Have you changed the config.php file with new host database details ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •