Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on Fatal error: mysql_set_charset() in the Design and Development forum
I use mysql_set_charset(charset,resource) in my XAMP enviroment. It works fine. When I move the script to the production server, I get an error message: Fatal ...

  1. #1
    JPC Member
    Join Date
    Sep 2010
    Posts
    1

    Fatal error: mysql_set_charset()

    I use mysql_set_charset(charset,resource) in my XAMP enviroment. It works fine.

    When I move the script to the production server, I get an error message:

    Fatal error: Call to undefined function: mysql_set_charset() in /home/msiisice/public_html/raceSelect.php on line 21

    Why is this an undefined function when it's supported by PHP? Any work-around? I'm using this because of the need to properly store and display accented letters in support of French words.

    Thanks.

  2. #2
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    PHP manual says that this function was introduced in php >= 5.2.3 (Ref: http://php.net/mysql_set_charset)

    Please check that you are using php5 on the production server and it is greater than or equal to 5.2.3

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

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
  •