The following SQL snippet shows a neat way to do queries when implementing paged results.
I have tested the snippet on MySQL 5 only.
SELECT SQL_COUNT ROWS *, tableName.id, tableName.someCol FROM tableName LIMIT 0,25;
The following SQL snippet shows a neat way to do queries when implementing paged results.
I have tested the snippet on MySQL 5 only.
SELECT SQL_COUNT ROWS *, tableName.id, tableName.someCol FROM tableName LIMIT 0,25;
When converting to boolean, the following values are considered FALSE:
Every other value is considered TRUE (including any resource).
Small code snippet illustrating getting the selected value from an Ext Js ComboBox.
This example has been tested with Ext Js 4
var combo = Ext.create('Ext.form.field.ComboBox', {
...
listeners: {
'select':function(selected){ alert(selected.value); }
}
...
});
If you get the following error when developing with Ext JS 4:
“Node cannot be inserted at the specified point in the hierarchy”
Make sure your Panel IDs are unique.
In my case, I had 2 form panels both with the same ID that I was trying to render.
http://humanstxt.org/
An alternative to robots.txt…