
Search In
Hello reader's we discussed about "Send HTML email in php".
In this code we use Html tags in the " $message " for the better user interface.
example: " h1 " tag for heading and " p " tag for paragraph (write a message).
Hence You can use all HTML ta
Welcome to FindNerd. We are going to discuss the curl setup in php. In php curl is not enabled bydefault. You need to enable it via php.ini file. curl_init and curl_setopt
are the functions for main functionality. you can set the url by curl_ini and
We can easily find date difference in php by using strtotime which convert two dates to unix time once convert we can manipulate easily by calculating the number of seconds between them.Its the easy way to calculate different time periods.
$date1
Hello Reader's If you are making the html 5 form then you can integrate the user time zone in the date time calender also, Lets see the example below:-
first you have to downoad the JS an CSS file from here
Now you have to create an html page and l
FIND_IN_SET(str,strlist)
FIND_IN_SET function returns a value between 1 to N if the string str is in the string list strlist consisting of N substrings. If the first argument is a constant string and the second is a column of type SET, the FIND_IN
Hello readers if you want a single page website in which all the pages and links will be the sections of Home page. By using the bootstrap you can make it. Here you can see my code working as single page website.:-
<!DOCTYPE html>
<ht
Indexes in MongoDB effective execution of query, Otherwise MongoDB must scan all documents inside of the collection to fetch document match the find statement. This scanning process is profoundly inefficient and require the MongoDB to handle a vast v
Hello Reader's if you need to cast the objects in PHP then this blog is helpful to you .
Here below I created a function which will cast the object and relocate the object to location as you define
function cast($destination, $sourceObject)
{
The profile module is a standard Python profiler. And with the help of profile module we can run the profiler from the command line. For example you can see the below code.
#!/usr/bin/python
vara = 17
varb = 400
sum = vara + varb
print "vara + varb
have a quiz script. My script contains quiz.js, getquestions.php, insertresults.php. In quiz.js:
var i = 1;
var sec = 20;
var timetaken = 0;
var answer;
var points;
var result = .5;
var score = 0;
var f = new Date();
var duration;
var containerWidth
