I am using following code:
var genres1 = new Ext.data.Store({
reader: new Ext.data.JsonReader({
fields: ['pincode','place_name'],
root: 'rows'
}),
proxy: new Ext.data.HttpProxy({
url: 'pointalong.php',
method: 'GET'
})
});
but i want to pass 3 parameters to my php file. how should i proccess? and also how would i get at php file.
There are two possibilities. The first one is to use store
baseParamsconfig:The second one is to send them when you are using load method:
So if you setup store with
baseParamslike in example above and then useloadwith params the store will request...?param1=value1¶m2=anotherValue.As usual variable passed via the URL parameters – using $_GET: