
Search In
We usually want to scrap some data from one site or other . For this rails have provided us with a well known gem Nokogiri . It is a library which has been written for scrapping data and any rails developer can scrap data with the use of following g
Hello Reader's if you have the current date and you want to get some past dates or future dates then here you can see it. PHP offers you to use inbuilt function strtotime.
Lets see how you can adjust the dates with this.
Here you will get the next d
When our application and libraries references reaches their limits, then we get some errors that shows we reached the limit of built architecture.
Like this
trouble writing output:
Too many field references: 131000; max is 65536.
You may try using
If you declare a method that takes two parameters, on This method call , you need to pass two parameters along with it.
But, Ruby facilitates to declare methods that can work with a variable number of parameters.
Example
def evon (*t)
puts "
A JSONObject is an unordered amassment of name/value pairs. Its external form is a string wrapped in curly braces with colons between the designations and values, and commas between the values and designations.
A JSONObject constructor can be acclim
In mysql database i created "leave" table:
CREATE TABLE `leave` (
`ID_LEAVE` int(11) NOT NULL,
`ID_WORKER` int(11) NOT NULL,
`BEGIN_DATE` datetime DEFAULT NULL,
`END_DATE` datetime DEFAULT NULL
)
INSERT INTO `leave`
(`ID_LEAVE`
The date function in PHP is the one which formats the timstamp to a readable form.
The Syntax of it is as :
date(format,timestamp)
The required format function is to specify the format of the date and the timestamp Specifies default current date a
strict mode:
It is used to catch or throw errors when some unsafe actions are taken and use strict directive is used to execute javascript code in strict mode. For example: we cannot use undeclared variable in strict mode.
use strict can be u
Technology grows and advances every day. Because of technological advancements, e-commerce has emerged and flourished in a way that global businesses of all sizes have benefited from.
The owners of those same online businesses see stories in
Hello Readers,
This blog tell the difference between the Datetime vs Timestamp in MySQL and PHP.
1> Datetime and Timestamp are used to store datetime and then retrieve the datetime back.
2> Basically, In this we have a 2 factor which help yo
