This is a simple login script using php and mysql. In this script, a form will be displayed with two fields, email and password. When user is submitting with valid email and password, then he can access authenticated page. First we will connect to the database. Since we already have our table created “iosr_user_detail”. HTML […]
@media at-rules, used to target styles at specific media, such as screen or print.A page can then be optimized and laid out completely differently for mobile phones, tablets, and varying browser window sizes. Browser-size specific CSS CSSCopy This is telling a browser to apply a block of CSS when its viewport is 1000 pixels wide or less. You could use this to do something […]
This tutorial will help you to learn join query using php codeigniter. Table joins are essential part in application development while displaying the records from multiple tables. Let’s create a join method in codeigniter
The current() function is used to fetch the value of the current element in an array. Every array has an internal pointer to its “current” element, which is initialized to the first element inserted into the array. Tip: This function does not move the arrays internal pointer. Parameter Description array Required. Specifies the array to […]
t returns the product of values in an array as an integer or float. The array_product() function calculates and returns the product of an array. As of PHP 5.3.6, the product of an empty array is 1. Before PHP 5.3.6, this function would return 0 for an empty array. Parameter Description array Required. Specifies an […]
DBNAME shows it is define as constant, my guess it must be define in constant.php You can use grep or notepad++ search in files feature to look for “DBNAME” in whole folder. This way you will get the file where it is define as constant and so the database name you are looking for. If […]
The query builder can also select existing records using the select method, you can specify a custom select clause for the query.
The explode() function breaks a string into an array. Note: The “separator” parameter cannot be an empty string. The explode() function space string into an array. The explode() function comma separated a string into an array. Output Another Example Output
In this article we have created drag and drop feature which is based on File DataTransfer object. DataTransfer object holds information about the user interaction, including what files (if any) the user dropped on the element to which the event is bound.
In this tutorial we will show you how to get user’s complete location using users IP address in PHP with the help of GeoPlugin and freegeoip web service. Example 1 Output Example 2 Output