Dynamic Example Not Working

Ian Lim's Avatar

Ian Lim

16 Mar, 2010 02:56 PM

I have created 2 files as attached. And I have tried many combinations to get the code working. But seem like without luck.
May I know any problems on my code?
Thanks in advanced.

  1. 1 Posted by Ian Lim on 17 Mar, 2010 01:44 AM

    Ian Lim's Avatar

    Anyone can help? I don't really know json. I need to get the value and pass to the autoSuggest(). Thanks.

  2. Support Staff 2 Posted by Drew Wilson on 27 Mar, 2010 06:54 PM

    Drew Wilson's Avatar

    You need to have PHP5 for the json_encode function to work. It doesn't exist in PHP4. Double check to make sure you have PHP5.

    Also you messed up the SQL query:
    you have: ='$input%'

    You are missing the first "%"... it should be:
    you have: ='%$input%'

    If you have PHP% and u fix that.. it should all work.


  3. Drew Wilson closed this discussion on 27 Mar, 2010 06:54 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac