How to add combobox in editable datagrid using jQuery EasyUI

| By Webner

Following is the code to add Combobox in editable data grid: Index.html: <table id=”dg” title=” Combobox in editable datagrid ” style=”width:100%;height:700px” toolbar=”#toolbar” pagination=”true” rownumbers=”true” fitColumns=”false” singleSelect=”true” autoSave=”true” data-options=”pageSize:50″> <thead> <tr> <th field=”Item_number”width=”100″ editor=”{ Type:’combobox’, Options:{url:’get_itemname.php’, valueField:’itemno’, textField:’itemname’ }}”>Item Name</th> <th

PHP | better way to include a file

| By Webner

Have a look at this folder structure: Test Folder1 Abc.php Folder2 Qwerty.php Now in Abc.php file, try to include Qwerty.php using the following code: Abc.php include(‘../Folder2/Qwerty.php’) It will give this error: Fatal error: Failed opening required ‘../Folder2/Qwerty.php’ (include_path=’.:/usr/local/lib/php’) in /Test/Folder1/Abc.php

PHP | How to install CakePHP 3.0

| By Webner

These are the steps to install CakePHP 3.0 on Ubuntu machine: Make sure you have PHP 5.5.9 (CLI) or higher installed. Check php version on your system using this command: php -v Run the following commands: 1. Download the composer