
Search In
Hello Reader's if you want to know the users which are accessing your website then you can get them by their IP. Lets see the example as below:-
Try this simple PHP function.
<?php
function ip_info($ip = NULL, $purpose = "location", $deep_detec
JavaScript Array lastIndexOf() method : The lastIndexOf() method returns the last index of the given item inside the array. This method is used when array has an element more then once. It returns the numeric value 0 or greater if element found, and
This article explains how to add and subtract number of days from a specific date in PHP. In many cases we have to get date after or before a specified interval of days, months and years from current date or from any specified date.
Note : With PHP
We can easily show the route which contain all stops including start point and end point in Google map.
So to find stops we need to create markers json string contains all the stops with their latitude and longitude including start point and e
In today's world of internet, Email become one of the most popular and demanded service. Email become a necessary part of web development, email can be generate and send on different events such as registration of new users, activation of accounts on
<-- Chapter 18: SQL INSERT
Chapter 19
SQL UPDATE
UPDATE statement is used to update existing table data in database table with the help of WHERE clause.WHERE clause tells which record is to be updated.
Lets see an example from the below table
<-- Chapter 20: SQL DELETE
Chapter 21
SQL INJECTION
SQL Injection is an injection attack wherein attacker is able to submit a database SQL command which is executed by a web application exposing back-end database. Attacker can add SQL query in
In this example I have a list of images that loads after getting the response. I want to preview the image which is clicked. So I am sending the image’s url and its unique id into the click function and then comparing the id’s, display that image on
In openerp you make a request to read the assets while the transaction creating is not done and As the assets are generated during the same transaction and the rendering of the templates will call them. There is a scenario where the assets are unreac
Hello Reader's, If you are developing the form for multiple email address as input, then you need to validate each email individually. You can do it by validating on submit or after submit.
By using the Jquery script you can do it on user end, It w
