How to optimize if else statement in a smart way?
In this tutorial i am going to show how can we optimize the if else statement. This method can be used in any programming languages. I am going to show two different ways we...
Programmer to Programmer- A website for web programming and mobile application programming tutorials
Programmer to Programmer
In this tutorial i am going to show how can we optimize the if else statement. This method can be used in any programming languages. I am going to show two different ways we...
Suppose you have old Hosting H1 and domain D1. You have purchased new hosting H2 with cpanel. Now you want domain D1 to new hosting as a multiple hosted domain in H2. To do...
Sometimes Filezilla creates problem connecting to server with FTP. The easiest solution is to check the connection from another computer. If it worked on another computer then there is something wrong in your computer’s...
Today i found a new problem, the date object working perfectly in desktop web browsers but not working in android browsers and iphone browsers. The problem is they issue NAN and Undefined errors. So...
Without editing php.ini it is possible to display almost all errors in php by adding following 3 lines of codes on the top of the php page: ini_set(‘display_errors’, 1); ini_set(‘display_startup_errors’, 1); error_reporting(E_ALL); Hope it...
The default port on MAMP for mysql is 8889, but the port that php expects to use for mysql is 3306. So you need to change it. Open MAMP, go to Preferences and Ports...
In mac if you have ever encountered a problem that MySQL suddenly stopped working then i have a solution to your problem. I have recently encountered this problem in my Mac OS Sierra. Apache...
Nowadays, Be like Bill and Don’t be like Bill are trending on the internet. It is obvious for all that they love to create their own customized Be Like Bill or Don’t Be like...
To get PHP errors to display without modifying php.ini add the following codes to the top of the php file: ini_set(‘display_errors’, 1); ini_set(‘display_startup_errors’, 1); error_reporting(E_ALL); However, it won’t show parse errors. To show parse...
Recent Comments