Tuesday, July 28, 2015

Twitter bootstrap popover close all before opening a new one

Here a simple solution

$('.link-popover').click(function(){
    $('.link-popover').not(this).popover('hide');
});

Thanks

Saturday, July 18, 2015

Php/Mysql date saved as '0000-00-00'

The date format in Mysql is yyyy-mm-dd. Therefore we should convert the date as "Y-m-d".

$newdate= date("Y-m-d", strtotime($date));

Wednesday, July 1, 2015

ModelState.IsValid always false

Put this line above ModelState condition and check the values you getting for variable errors.

var errors = ModelState.Values.SelectMany(v => v.Errors);
 
 

I Built a New Kind of Number Puzzle Game (And You Can Play It Free)

 For a long time, I wanted to play a mobile puzzle game that felt genuinely strategic—something that required real brainpower, skipped the a...