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

Search In

How to get current date time with you region using PHP

If you are using PHP and want to get the current date time with respect to your time zone then just use the code below :- $DateTime = new DateTime(null, new DateTimeZone('Asia/New Delhi')); $DateTime->setTimezone(new DateTimeZone('Asia/New Delhi

How to check credential key in avalara-salestax in OpenERP/Odoo ?

Step-1 Go to avalara_salestax module. Step-2 avalara_salestax->account_tax.py. Step-3 After that used below code in account_tax.py file. avalara_obj = AvaTaxService(avatax_config.account_number, avatax_config.license_key,

Associative array in PHP

The element of an Array in PHP by default are accessed by the index number i.e. the position in which the element or value is stored in the array. For example : <?php $temperature = array(10, 20, 30, 25); echo "Delhi temperature : ".$temperatu

Select DISTINCT records based on specified field from DataTable

This blog will help you when you need to select distinct records from a datatable on basis of selected columns. Suppose we have a datatable which holds the employee records. This datatable has following columns Name FatherName City Qualificati

Editor Templates for Complex Types in Asp.net MVC

Hi Friends, This is a small article about editor templates in Asp.net MVC. What are they? Why do we need them and what are the scenarios where these editor templates can be used?. Let's find out. Editor templates are provided in asp.net MVC to

How to use the mysql result for the sepecific values

Hello Reader's if you are learning, optimizing the mysql query then in this blog you will know some new syntax offered by Mysql where you can make your query fast. Lets see the examples as below:- In the code below, the results selects all

Jquery Ajax exapmle in php

Here in this blog i have shown  a simple example how to use AJAX to send and retrieve data from a PHP page and then populate the result from a PHP page in a HTML element. The example here shows when I select a country a request is send to PHP p

Get Country from IP Address

Hello friends, I was facing issue of getting country name from IP address. Here I am going to tell you how to resolve this issue by passing IP address and retrieving country name. There are many APIs which will do this for you. I am using the service

Finding or Building a New Object In Rails Through Active Records

Finding or Building a New Object In Rails Through Active Records Active records provide us with some methods which we can use in our database to find or create objects automatically without having to fire two queries. These methods run 2 queries t

1 7 19
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: