Brett Magee
jQuery Autocomplete fetch_object fatal error?
1 Answer(s)      3 years and 4 months ago
Posted in : PHP

I am consistently getting this error when I use the code supplied here, even after updating the database information etc.

"Fatal Error: Call to a member function fetch_object() on a non-object"

Now the code I am using is this, I added some slight variant to it as I wanted to go through two tables instead of one.

View Answers

June 19, 2012 at 5:24 PM

Here is an example of Jquery Autocomplete box.

    $(function() {
        var availableTags = [
        $( "#tags" ).autocomplete({
            source: availableTags

<div class="demo">

<div class="ui-widget">
    <label for="tags">Tags: </label>
    <input id="tags">

</div><!-- End demo -->

<div style="display: none;" class="demo-description">