Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to enable CURD operation in YII

In yii we can create our basic code for 'CREATE',,'UPDATE','READ','DELETE' operations. for enable this functionality we need to enable curd. For enable curd go to your main.php file and find keyword 'gii' and you will see like this /* 'modules'=&

How to get the last key of an given array in PHP

Hello Reader! Getting last the key index of any array PHP can be done on several ways as follows:- Lets consider an example array $MyArray $MyArray = array( 'one' => firstelement, 'two' => secondelement, 'three' => lastelement

How to run cron on alternate week on particular week day?

All of us have been writing some kind of cron but recently we came a situation where cron has to be fired by weekly on Wednesday. Keeping in mind the client requirement we came to a particular solution. Minute Hour date-Of-Month Month Day-Of-Week /p

Infinity Number in Javascript

Basically Infinity property is a numeric value i.e represent the undefined value . If the value of infinity is very-very small and negative then it would be negative infinity . If the value of infinity is very-very large and positive then it would

SQL Select Coun statement

Count ( ) In SQL Database this is a function which return no of rows from a table in Database . Generally this is used in SQL select statement and count the no. of records in a table . Syntax -> select count ( expression_name ) from table_name w

How to parse and Excel file in PHP

Hello Reader! If you want to read a Excel file in PHP then you can learn the library code below read('excel_file.xls'); // reads and stores the excel file data // Test to see the excel data stored in $sheets property var_export($excel->sheets

Image Slider In Javascript

If you want image slider using Javascript then you can use below code . CSS Code : <style type="text/css"> // to make a gap from top body { margin-top: 100px; } // give styling to list .navlist ul li{

Customize seekbar in android

If you want to customize seekbar in Android then follow the steps mentioned below:- 1) To customize seekbar background create a new xml file in your project's drawable folder . seekbar_background.xml <?xml version="1.0" encoding="utf-8"?> &l

MYSQL, PHP :- Query Concatenating Fields To Make Date And Running Between Query On It

Recently, I faced a problem when the date was saved in different fields month, year and date. I need to club all these fields together and run a between query on it. Another issue which was there was that Date has '0' contacted if the value is less

Sorting in Ruby

Using sort method we can sort any string, numbers, even classes either in ascending order or descending order .To sort an array ,you need to compare its element using <, >, <=, >= . return -1 if x < y return 0 if x = y return 1 if x &

1 143 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: