This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Live demo | |
// http://jsfiddle.net/GvdSy/ | |
$.ajax({ | |
xhr: function () { | |
var xhr = new window.XMLHttpRequest(); | |
xhr.upload.addEventListener("progress", function (evt) { | |
if (evt.lengthComputable) { | |
var percentComplete = evt.loaded / evt.total; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$stmt = $model->getAdapter()->query( | |
'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?', | |
array('goofy', 'FIXED') | |
); | |
$rows = $stmt->fetchAll(); |
NewerOlder