
Search In
To find the number of days until a particular date you need to write the following PHP script:
<?php
$date1="December 31,2015";
$date2=strtotime($date1);
$date3=ceil(($date2-time())/60/60/24);
echo "There are " . $date3 ." days until $date1.";
?&
Im new to this forum and new to php too… hope i get some help…
I have bootstrap column in while loop, what i want is if bootstrap last column is odd then i want column to be 12 (col-12), i found the way to check number even or odd but
Showing a limited number of records per page has been a basic part of each application and it is very difficult task to bring out. CakePHP provides a easy way for limiting record to be display or for paginate data.
The PaginatorHelper gives us a eas
For configuring the size of “upload file, post, memory” in an application developed in php we need to do the following changes in the file “php.ini”. The path where we can find the “php.in” is below:
1-> Debian/ Ubuntu : { /etc/php5/apache2/p
Php offers you to make the integration of sms. We will discuss how to use php to send sms to any mobile number:-
Before we starts you need to have some any sms pack from mobile data companies but if you don't have you can make one you from twilio.
Datatypes supported by PHP
String
Integer
Floating point
Boolean
Array
Object
NULL
Resource
String Functions
Strlen() : Returns the length of a string (number of characters).
<?php
echo strlen("Hello world!"); // outputs 12
?>
Strrev()
In one of our current Project we used Memcached. Objective was to minimized database to-fro for very high UDP requests hitting Java application. Hence all device ids were placed in Memcached so that we could very promptly identify the incoming UDP re
What are Sessions?
Before we get into implementing a Sessions solution, it’s important to understand exactly what they are.
By default, the Internet is a “stateless” environment. This means that every request you make in a browser is anonymous in the
WordPress provides comment feature. Website needs comment section for reviews which makes visitor engagement on web page.
You can change the look and feel of the comment section. In default WordPress themes we have comment.php which is responsible to
DIGITAL MARKETING IN INDIA
Indian Economy is growing at the growth rate of 5 percent 2013-2014, it is the tenth largest economy in the world in G.D.P comparison and third largest in P.P.P (Purchasing power party).
India is doing well in internatio
