Tags » PHP 2

How add a toggle button for active inactive in Yii CgridView

How add a toggle button for active inactive in Yii CGridView

  1. <?php $this->widget(‘zii.widgets.grid.CGridView’, array(
  2. ‘id’=>‘subject-grid’,
  3. ‘dataProvider’=>$model->search(),
  4. ‘columns’=>array(
  5. ‘id’,
  6. ‘subjectName’,
  7. array(
  8. ‘header’=>‘Status’,
  9. ‘class’=>‘CButtonColumn’,

Read the full Blog at: … 60 more words


Programming as art?

Not too long ago, admiring the craftsmanship of the Kritonios Crown got me thinking about the various ways in which people have taken a particular skill – such as painting, sculpting, smithy, writing, etc – and turned it into art. 450 more words


Handling a DB2 record lock exception in PHP on IBMi

Ever run into this exception?

SQLSTATE: General error: -913 SQL0913 – Row or object TABLE in LIB type *FILE in use

Below is some example code on how you could handle a DB2 file lock in your PHP script, by catching the exception and doing want you want to do when someone has locked the record.  277 more words


Web Designing Is Your Website Doing Business

Web designing is an important factor for people doing business online. Online business is happening everywhere and almost everybody is doing it these days. However simply having a beautiful website will not deliver you what you are looking for. 449 more words

Web Development

Web Hosting, PHP vs ASP

Web pages used to be simple affairs, where everything you needed to do could be done in HTML, there was really one set of rules and one set of expectations. 578 more words

Web Development

Cara Menampilkan File .midi di Website dengan HTML


Assalamualaikum Warahmatullahi Wabarakaatuh,

Maaf karena saya tidak menjelaskan PHP secara step-by-step, disini saya akan share aja tentang tugas – tugas selama ini yang saya kerjakan di D4. 323 more words