Snaps in all categories

Get url for subit values from view to php using ajax in Yii framework...

ajax url yii2

Code for select input made from table. Dropdown not using $form->model...

php framework yii2 view drop-down

php

Sort array by key with ascending order. Using ksort function....

php array sort ksort function

Making array from table referenced by foreign key for view made from table having referenced id....

php framework yii2 view foreign-key

This code check if window have certain size, depend on window size. I've applied bootstrap media queries size. Get windows size on resize....

media queries window resize

get column names from table:...

mysql column

Products can have many tags. If model has getter for getting related tags, tags objects can be read with theese getter. Model also has to have tags property declared. Getter and property can be generated with gee with model generation, or can be...

yii2 php frameworks activerecord

To truncate table You can turn foreign key checks of, truncate table, and enable foreign key again....

mysql truncate foreign-key check-constraints

php

Checking if variable can be parsed into integer using is_int() and ctype_digit(). After returning true I thing is pretty shure that variable can be cast to integer....

php parse variable

php

This code will get array of particular key from another array with array_map function....

php array array-map

For example. Product can have many tags. Product tags can be found with this active record query:...

yii2 php frameworks activerecord

mysql find duplicates by particular column...

mysql select duplicates find

Getting parameter from request...

yii2 parameter request get

Gettin logged user in yii2 framework...

yii2 php logged user get

Generate empty JSON 2d array....

json.net

Custom styles with responsive text with media queries. Desktop first queries 10 different settings and additional font weight and style classes....

css css3 bootstrap

php

phopinfo();...

phpinfo

select sysdate from dual;...

sql test

C

#import main { std::out...

test c++

Simple Hello World script in Python 3.x...

python3