Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Spécial character in ajax request
  • Hi, 

    I don't know why, but when i do an ajax GET request, the response interpreter/write special character (hexa).

    For example, in my controller Hybrid, i have "get_api()" method. 

    public function get_api()
    {
    echo '%78'; die();
    }

    If i do an ajax GET request, the response will by "x". 

    This is especially annoying if i want to do a query like that : ->where('id', 'LIKE', '%'.$id.'%')
  • What are you exactly trying to do? Pass a percentage character in the URL?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion