chevron_left

Recent posts tagged php

0 0 1 min.
Question: --------- If you want to add some of the data to my database but I am receiving the below error: “Catchable fatal error: Object of class PDOStatement could not be converted to string in /var/www/mandje.php on line 114.” This is the c...
posted Sep 19 sam_dev 69 points
12 1 2 min.
In this article we will discuss how can you set up memory limit value for your PHP scripts using php.ini file. We will learn multiple ways to set memory limit. Let's start **What is PHP script memory limit?** This sets the maximum amount of memory ...
posted Sep 12 ahsanhanif99 202 points
7 0 1 min.
In this article we will answer a common question that why should we put the most likely case statement first in PHP switch. Is the order of putting case statements really important? To answer this question one must understand how switch statements i...
posted Sep 12 ahsanhanif99 202 points
22 1 3 min.
This article is very important for PHP developers. PHP websites often have a requirement of a their own chat system. Even though their are some built-in or ready made plugins like tawk.in for integrate a chat system into your website. But there are o...
posted Sep 12 ahsanhanif99 202 points
18 1 2 min.
In this article we will discuss how can you create, save and download excel files using PHP. As usual I will provide multiple ways to do this job and will recommend the best method. Let's start **What is an excel file?** Its a spreadsheet developed...
posted Sep 11 ahsanhanif99 202 points
19 0 2 min.
In this article we will learn how can you backup your entire database or specific tables. We will learn how can you create tables, copy data into them and save them as proper extensions in a given directory on server. The database back up is very i...
posted Sep 9 ahsanhanif99 202 points
17 0 1 min.
In this article we will discuss how to remove an array element based on either its key or value. Removing array items is a common practice in writing programs therefore it has multiple ways to do this job. We will also discuss how we remove an array ...
posted Sep 9 ahsanhanif99 202 points
21 1 4 min.
This article will demonstrate how can you add and use a load more button to show more content on your web page. It actually has two scenarios and since we kept the title of this blog, general therefore we will discuss both of them one by one. **1- W...
posted Sep 8 ahsanhanif99 202 points
21 0 4 min.
In this blog we are going to see how can we get current date using PHP. for that we are going to use “date()” function present in PHP . <?php echo "Today is " . date("Y/m/d") . "<br>"; echo "Today is " . date("Y.m.d") . "&l...
posted Sep 5 Govind Potdar 24 points
25 0 2 min.
In this article we will discuss how we can copy an file entire file into a given destination folder using PHP. Copying files into a given folder is quiet a straightforward task. We will discuss multiple ways to accomplish this. Let’s start...
posted Sep 5 ahsanhanif99 202 points
23 0 2 min.
Entry point not found, The procedure entry point could not be located in the dynamic link library on your Windows computer. This error can occur if a program fails to locate the DLL library which it needs to run. It could also occur if the libra...
posted Sep 5 SharadMagar450 320 points
12 0 0 min.
<?php $hostname="localhost"; $username="root"; $dbname="ethiomallbot"; $password=""; $myconn = mysqli_connect('localhost', 'root', ''); $sql="SELECT count(ID) AS total FROM restaurants"; $result=mysqli_query($myconn,$sql); ...
posted Sep 2 Amanuel Nigatu 3 points
12 0 4 min.
This article will demonstrate how can you upload multiple images with a progress bar that shows progress of your upload at run time. In this demo we will be using HTML, jQuery, CSS and PHP. This is very important article as I believe all PH...
posted Sep 2 ahsanhanif99 202 points
9 1 5 min.
In this article we will learn how to create and process a basic registration form using HTML. The form will also contain an image upload field as well. I will use minimum CSS and JavaScript just to support our registration function as my focus in thi...
posted Aug 31 ahsanhanif99 202 points
21 3 2 min.
In this article we will learn what is global variable, how can we define one and how can we use one in PHP. Let’s start.What are global variables?A global in PHP (or generally in any programming language) is a variable that’s scope is not...
posted Aug 31 ahsanhanif99 202 points
19 0 2 min.
We will discuss how is it possible to use XAMPP and run a PHP script on your computer. Let’s startWhat is XAMPP?It is a software distribution server that converts your computer into a local host for developement of a website. The developers can...
posted Aug 29 ahsanhanif99 202 points
18 0 4 min.
А  ____________  in  а  соnditiоnаl  stаtement  сheсks  tо  see  if  а  stаtement  is  true  оr  fаlse  in  рhрРHР  Соnditiоnаl  StаtementsLike  mоst&...
posted Aug 28 sakshi 955 points
22 0 2 min.
рсfg_орenfile  unаble  tо  сheсk  htассess  file  ensure  it  is  reаdаbleThe  sоlutiоn  оf  the  errоr  “Рermissiоn  denied:  .htассess  рсfg_орenfile:  ...
posted Aug 26 sakshi 955 points
19 0 4 min.
Whiсh  stаtement  соrreсtly  retrieves  а  field  nаmed  txtnаme  frоm  а  fоrm  thаt  uses  the  роst  methоd?When  РHР  wаs  оriginаlly  сreаted,  i...
posted Aug 26 sakshi 955 points
3 0 2 min.
Often we need to get the visitor's IP address for different purposes, getting the IP address in PHP is very easy. PHP provides the PHP $ _SERVER variable to easily get the user's IP address. We can track the actions of visitors. on the site for secur...
posted Aug 22 videepsinghal 324 points