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

Search In

Strings in laravel 4.x

There are n number of functions of strings in laravel 4.x which is used to perform action in string that are camel_case: camel_case is a function which is used to convert the given string to camelCase. Example: $camel = camel_case('foo_bar'); Res

Laravel 4.x Carbon Class

The Carbon class is inherited from the PHP DateTime class. Example: <?php class Carbon extends \DateTime { // code here } ?> There are n number of situation when we want to get the 1 day or 2 days old data. For this we will do calculati

Get the query executed in Laravel 4.x

In Laravel 4.x, We have a function by which we can run our query the syntax is Syntax: DB::getQueryLog() By using this function We can run our query. Example $queries = DB::getQueryLog(); $last_query = end($queries); We have also profiler pac

Get all routes, Laravel 4

This is one of the important point which is not available on even stackoverflow. I want that by using one controller we at the moment which will handle every request that comes to my laravel 4.x application.This is one of the question which we should

Update without touching timestamps (Laravel)

I want to update my data but I dont want to update my timestamps. Laravel 4.x provide us the facility to update our data without updating our timestamps. The example to Update without touching timestamps using Laravel 4.x is: $user = User::find(1);

How to utilize use of count() function in php

what is count() function The count() is utilize to count all data elements in an array, or in other word we can say The count() function returns the number of elements in an array. You can see below example of count() function. <?php

ReadyState property in QTP

The readyState property in QTP returns the loading status of the current browser . This property Will be of immense help if the AUT under test has a lot of sync issues while running the script . This property returns one of four values : 1. unini

How can use Regular Expressions in HTML?

We can use a Regular Expressions width the help of HTML 5. You can use this with "textarea" and "Input" tags. <form action="" method="post"> <label for="username">Create a Username: </label> <input type="text"

Getting the current absolute URL in Ruby on Rails

Recently I was working on rails 4 application and there was a need to get current absolute URL. So I noticed that as rails evolved, this is also getting changed and thought to pen down these ways for all the rails versions. For Rails 3.2 or Rails 4

Generate a random and unique password

Hello readers, today we discuss about "Generate a random, unique password or alphanumeric string" using Php function. function random_string($len) { $key = ''; $keys = array_merge(range(0, 9)); for ($i = 0; $i < $len; $i++) {

1 … 18 … 557
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: