1. #11
    Sencha User
    Join Date
    Jun 2012
    Posts
    35
    Vote Rating
    1
    Oxii is on a distinguished road

      0  

    Default


    How ? sorry I didn't get what you mean

  2. #12
    Sencha User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    545
    Vote Rating
    97
    Tim Toady is a glorious beacon of light Tim Toady is a glorious beacon of light Tim Toady is a glorious beacon of light Tim Toady is a glorious beacon of light Tim Toady is a glorious beacon of light

      1  

    Default


    You are using string interpolation for variable $query. The only way I can see your sql returning unrelated data is if the variable $query does not contain the correct data. For instance, if you did not set it, it would probably return everything. You could verify it by echoing out your sql and making sure the value you typed in your combo is getting into the sql. Of course Ext will output an error, but you can see the sql in the response.

  3. #13
    Sencha User
    Join Date
    Jun 2012
    Posts
    35
    Vote Rating
    1
    Oxii is on a distinguished road

      0  

    Default


    Quote Originally Posted by Tim Toady View Post
    You are using string interpolation for variable $query. The only way I can see your sql returning unrelated data is if the variable $query does not contain the correct data. For instance, if you did not set it, it would probably return everything. You could verify it by echoing out your sql and making sure the value you typed in your combo is getting into the sql. Of course Ext will output an error, but you can see the sql in the response.
    Thanks a LOT!! It Finally Works !!

  4. #14
    Sencha User
    Join Date
    Jun 2012
    Posts
    35
    Vote Rating
    1
    Oxii is on a distinguished road

      0  

    Default


    Hello again,

    this was working great on localhost, but getting error when deployed to the server:
    Code:
    Undefined variable: query
    any idea ?

Thread Participants: 1