jQuery Autocomplete Mysql PHP

前端 未结 4 1871
暗喜
暗喜 2020-12-10 07:56

Hi could some one please take a look at this and let me know where I\'m going wrong. I am trying to get jQuery UI autocomplete to work. this is my code: This is search.php

4条回答
  •  一整个雨季
    2020-12-10 08:32

    atleast run mysql_real_escape_string() on $search before jamming it into a SQL Query.

    The source: bit in your javascript is probably messing it up. You should remove the . if 'search.php' is at the 'top' of the documentroot directory.

    Firebug will probably help you take a peak at the communication as well.

提交回复
热议问题