BWSnippets

Oh, blah blah blah....

jQuery get HTML of parent

Get the HTML inside of some parent object

2013-05-08


jQuery input select change

catch a form input change with jQuery

2013-05-08


Yii - count attributes of related model

quick count of attributes that are related to a model

2013-05-07


mySQL FOREIGN KEY error

handling the good old mySQL FOREIGN KEY errno 150

2013-05-07


Yii Model allow empty -

Yii how to allow empty for certain properties

2013-05-07



Yii easy createdOn updatedOn handling

An easy way to handle createdOn - modifiedOn / updatedOn dates for models. Just add "beforeSave" to model.

2013-04-25


Make MYSQL DATE pretty

Take DATE and get a pretty version

2013-04-25