# Category: php

## How to display records in table ,accordingly checked columns or drag and drop that column into table from list in side bar?

i have to display records from table “user” and “item” , both table having columns (userid,username,address,contact,city) and (itemid,itemname,ownerofitem,applicableforcity) respectivlely..in my view page by default i have display one table with info “username” and “city”…now i have to add both table’s field in left hand side and if i select itemname and drag n drop it into table taht field will be added and data filtered accordingly .how it can be possible using angular js or […]

## Not able to disable the whole div content by default and enable when click on edit button

I have attached an image here below. In the above picture. There are two buttons in the top right corner. My requirement is when I load this page everything in this page including save button should be disabled except edit button. When I click on edit, the page should be able to edit that is page should be enabled. Is it possible to do it as I am expecting. Here below I have attached my […]

## How to check if value already exists in database PHP and AngularJS

Currently, if the name exists, nothing happens when trying to create. I have made the “name” column unique in DB, so only 1 can exists. I would like to give an alert() warning if the name already exists, but i cant seem to make it work Here’s my form: <h3>Add name</h3> <form ng-submit=”insert()”> <label for=”newName”>Name</label> <input type=”text” name=”name” ng-model=”name” class=”form-control” id=”newName” required> <br/> <label for=”gender_id”>Gender</label><br> <select name=”gender_id” ng-model=”gender_id” class=”form-control” id=”gender_id” required> <option value=”1″>Male</option> <option value=”2″>Female</option> […]

## ui-select it is possible to load data while typing

i’m new to angularjs. it is possible to load a data while typing in ui-select.Me having record more that 9000. can anyone help for this <ui-select ng-model=”item.general_ledger” name =”general_ledger_1″ id =”general_ledger_{{$index}}” theme=”selectize” ng-disabled=”disabled” style=”width: 150px;” ng-required=”true”> <ui-select-match placeholder=”Select Any GL”>{{$select.selected.Short_name}}</ui-select-match> <ui-select-choices repeat=”coa in loadCoalist | filter: $select.search” refresh=”refreshFunction($select.search, $select)” refresh-delay=”400″> <span ng-bind-html=”coa.Short_name | highlight:$select.search”></span> </ui-select-choices> </ui-select> Source: AngularJS

## How to restrict application for particular network

I developed one application. That application used in multiple offices in different areas. My requirement is, i wants to restrict that application have to open , that offices networks only, not outside. I am using angular as front end technology and PHP as a back end technology. Thanks,SrinivasaRao.CH Source: AngularJS

## Laravel with vuejs included or separated

Best way to create website like Gumtree is laravel with blade + vuejs or laravel backend +vuejs or angular frontend( cli) Source: AngularJS