toggle checkboxes javascript using prototype
April 14, 2008 | In Other Tech, WebTechnology | No CommentsToggle All Check Boxes using prototype javascript library.
function toggleCheckBoxes(formName) {
// toggle Check Boxes using Prototype Library
var form=$(formName);
var i=form.getElements('checkbox');
i.each(function(item) {
if (item.checked)
item.checked=false
else {item.checked=true }
}
);
}
Real programmers
February 16, 2008 | In Linux, Other Tech | No Commentssource: http://xkcd.com/378/
Migrating from PHP4 to PHP5
January 30, 2008 | In MySQL, WebTechnology | No CommentsPHP 5 Gotchas - Some Common Error Messages
Call-time pass-by-reference has been deprecated
calling a variable by reference during the function call instead of in the function definition:
$conn =&getConnection();
OCIBindByName($stmt,"EMPLID",&$eeid, strlen($eeid) )
script declaration required (may be php.ini or apache setting)
variable declaration
initialize variables // set variables to null or blank
Some Other Gotchas
MYSQL separated from base PHP5
have to compile MySQL support into PHP now just like other db’s
Guides and Documentation
PHP.NET - Migrating from PHP 4 to PHP 5
http://us3.php.net/migration5/
Chapter 60. Migrating from PHP 4 to PHP 5
http://www.phpbuilder.com/manual/en/faq.migration5.php
A PHP V5 migration guide
http://www.ibm.com/developerworks/library/os-php-v5migr/index.html
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed




