
Search In
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
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,
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
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
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
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
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
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
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
