Skip to content
  • Homepage
  • HTML
  • CSS
  • Symfony
  • PHP
  • How to
  • Contact
  • Donate

Teach Developer

Articles, Guides & Tips

How to remove index.php from URL in CodeIgniter 4

Posted on July 21, 2022July 24, 2022 5 Comments on How to remove index.php from URL in CodeIgniter 4

CodeIgniter 4 projects, you’ll notice that the URL has an extra argument. It is index.php in your project URL. So, if you don’t want this extra dimension you can remove it. This will create a clean URL for your website. There are several ways to remove this index.php in CodeIgniter 4. You can create a…

Read More “How to remove index.php from URL in CodeIgniter 4” »

Codeigniter, HTML, PHP

Here are 10 platforms where you can find your next remote job as a developer.

Posted on August 21, 2022September 18, 2022

1. remotive. io 2. flexjobs. com 3. producthunt 4. remoteok. com 5. justremote. co 6. weworkremotely. com 7. dailyremote. com 8. hired. com 9. remote. co 10. remoteleaf. com

How to, Tips

Difference Between Git and GitHub

Posted on September 1, 2022September 17, 2022

Git and GitHub are the same and serve the same purpose, but this is not the case. Git is a version control system used to manage different versions of our project whereas GitHub is a Git repository hosting service. Git- Git is a very popular version control system used to manage projects. However, a version…

Read More “Difference Between Git and GitHub” »

Git

How to Send Email from Localhost in PHP

Posted on September 18, 2022September 18, 2022

PHP sends email using the Inbuilt PHP MAIL() function. This tutorial shows you how you can send emails in PHP using the inbuilt PHP mail() function. If you work with PHP, you need to send emails to users like when the user registered with us, send a reset password link in the mail, if any…

Read More “How to Send Email from Localhost in PHP” »

How to, PHP, Tips

10 Programming Habits that every Developer Should Adopt

Posted on March 20, 2022July 20, 2022 3 Comments on 10 Programming Habits that every Developer Should Adopt

Write Human-Friendly Code Always remember that you are not writing code for machines but for others too. So it is essential to come up with a readable code. It is true that programming is like writing a good poem. The tone should be very consistent, the words should be descriptive & sentence well-structured. Here are…

Read More “10 Programming Habits that every Developer Should Adopt” »

Others, Tips

How to trigger a button click from another button click event with JavaScript?

Posted on August 21, 2022August 21, 2022 No Comments on How to trigger a button click from another button click event with JavaScript?

Sometimes, we want to trigger a button click from another button click event with JavaScript. In this article, we’ll look at how to trigger a button click from another button click event with JavaScript. To trigger a button click from another button click event with JavaScript, we call the element click method. For instance, we write to…

Read More “How to trigger a button click from another button click event with JavaScript?” »

How to, JavaScript

How to Disable WordPress Auto Update? Turn Off WordPress Auto Updates

Posted on August 4, 2022 No Comments on How to Disable WordPress Auto Update? Turn Off WordPress Auto Updates

WordPress can update your website automatically. It can also update themes and plugins on your site. Choosing to automatically update a website can provide additional security benefits and at the same time, the chances of breaking your site’s style or functionality cannot be ignored. It is more relevant in the case of websites built with…

Read More “How to Disable WordPress Auto Update? Turn Off WordPress Auto Updates” »

How to, Wordpress

How to split a string into an array with Twig

Posted on March 14, 2022July 19, 2022 6 Comments on How to split a string into an array with Twig

Twig provides many filters that mimic the basic features of PHP that are easy to understand for front-end developers. One of those filters is a split filter that allows you to split a delimited string by a single character, returning a repeating array. You can limit the length of the result array providing it as…

Read More “How to split a string into an array with Twig” »

Symfony, PHP

How to use the Local Storage in Javascript

Posted on July 26, 2022July 26, 2022 No Comments on How to use the Local Storage in Javascript

This article discusses what local storage is and the JavaScript methods that we can use to manipulate it. What is Local Storage? Local storage is a web storage object that is available in a user’s browser. It allows JavaScript browsers to store and access data right in the browser. Basic CRUD operations (create, read, update…

Read More “How to use the Local Storage in Javascript” »

JavaScript, Jquery

PHP 8.1: read-only properties

Posted on September 25, 2022September 25, 2022

Writing data transfer objects and value objects in PHP have become significantly easier over the years. Take for example a look at a DTO in PHP 5.6: And compare it to its PHP 8.0’s equivalent: That’s already quite the difference, though I think there’s still one big issue: all those getters. Personally, I don’t use them…

Read More “PHP 8.1: read-only properties” »

Top Tutorials

How to make the scrollbar visible in mobile browsers with CSS?

Posted on August 21, 2022August 21, 2022 No Comments on How to make the scrollbar visible in mobile browsers with CSS?

Sometimes, we want to make the scrollbar visible in mobile browsers with CSS. In this article, we’ll look at how to make the scrollbar visible in mobile browsers with CSS. To make the scrollbar visible in mobile browsers with CSS, we set the scrollbar’s width. For instance, we write to set the vertical width of…

Read More “How to make the scrollbar visible in mobile browsers with CSS?” »

CSS, How to

ES6 classes

Posted on July 28, 2022July 28, 2022 No Comments on ES6 classes

Prior to ES6, classes have been in use in Javascript. ES6 just comes with a clean, nice-looking syntax for defining classes. It’s good to note that JavaScript’s class is just a more convenient way of creating constructor functions, which are very different from traditional classes. In this article, we will focus on: How to define…

Read More “ES6 classes” »

JavaScript, Jquery, Node js, React, Tips

How to Install a WordPress Plugin for Beginners

Posted on August 2, 2022August 2, 2022 No Comments on How to Install a WordPress Plugin for Beginners

WordPress plugins are used to enable addon features to the web application developed in WordPress. Many features do not come with the WordPress core by default. So, if we need to extend the functionality of the WordPress application, then we need to use the plugins. There are many plugins available in the market for WordPress…

Read More “How to Install a WordPress Plugin for Beginners” »

Wordpress

HTML Tutorial

Posted on March 4, 2022March 4, 2022 4 Comments on HTML Tutorial

HTML is the standard markup language for Web pages. With HTML you can create your own Website. HTML is easy to learn – You will enjoy it!

HTML

How to change password in the CodeIgniter framework

Posted on September 17, 2022September 17, 2022

How to send forgot password in CodeIgniter framework PHP. Here we using 2 files to insert data in MySQL: Forms.php Path: codeIgniter\application\controllers\Forms.php forgot_pass.php Path: codeIgniter\application\views\change_pass.php Forms.php (Controller) <?php class Forms extends CI_Controller { public function __construct() { parent::__construct(); $this->load->database(); $this->load->library(‘session’); $this->load->helper(‘url’); $this->load->model(‘Hello_model’); } public function forgot_pass() { if($this->input->post(‘forgot_pass’)) { $email=$this->input->post(’email’); $que=$this->db->query(“select pass,email from user_login where email=’$email'”); $row=$que->row();…

Read More “How to change password in the CodeIgniter framework” »

Codeigniter, How to

How to make the div move up and down when scrolling the page with CSS?

Posted on August 19, 2022August 21, 2022 No Comments on How to make the div move up and down when scrolling the page with CSS?

Sometimes, we want to make the div move up and down when scrolling the page with CSS. In this article, we’ll look at how to make div move up and down when scrolling the page with CSS. To make the div move up and down when scrolling the page with CSS, we make the div…

Read More “How to make the div move up and down when scrolling the page with CSS?” »

CSS, How to

How to Deploy a React application on a cPanel

Posted on October 8, 2023October 8, 2023

post is about how to deploy React app in a sub-directory on cPanel. So, for this, you need a React Application setup and a cPanel ready for deployment. You can host React app on Firebase or any free hosting as well. That, I will cover in another post. React App cPanel/WHM Once, you are ready, let’s start…

Read More “How to Deploy a React application on a cPanel” »

How to, React, Top Tutorials

HTML Basic Examples

Posted on March 4, 2022July 12, 2022 3 Comments on HTML Basic Examples

In this chapter, we will show some basic HTML examples. Don’t worry if we use tags you haven’t learned about yet. HTML Documents All HTML documents must start with a document type declaration: <!DOCTYPE html>. The HTML document itself begins with <html> and ends with </html>. The visible part of the HTML document is between <body> and </body>.

HTML

Best Practical CSS Tips

Posted on August 4, 2022August 4, 2022 No Comments on Best Practical CSS Tips

1. First letter drop We can use :first-letter it to drop the first letter of the text. The:first-letter selector is used to specify the style of the first letter of an element, it only applies to block-level elements. The effect is as follows. See the Pen Untitled by TeachDeveloper (@TeachDeveloper) on CodePen. 2. Image text wrapping Shape-outside is…

Read More “Best Practical CSS Tips” »

Tips, CSS

Git basics: The simple commands to begin with

Posted on August 17, 2022September 18, 2022 No Comments on Git basics: The simple commands to begin with

Git config command This command is used to configure settings accompanying your use of git on your local machine/computer. Here are the major settings and configurations executed with this command. You can configure these settings on a global or local level. NB:Your username and email should be the same as those on your GitHub or…

Read More “Git basics: The simple commands to begin with” »

Git, Tips

Categories

  • Codeigniter (3)
  • CSS (11)
  • eCommerce (1)
  • Framework (1)
  • Git (3)
  • How to (43)
  • HTML (5)
  • JavaScript (15)
  • Jquery (7)
  • Laravel (1)
  • Linux (4)
  • Magento-2 (1)
  • Node js (4)
  • Others (2)
  • PHP (11)
  • React (13)
  • Server (1)
  • SSH (3)
  • Symfony (6)
  • Tips (16)
  • Top Tutorials (10)
  • Ubuntu (3)
  • Vue (1)
  • Wordpress (7)

Latest Posts

  • What is SSH in Linux?
  • How to Delete Files in Ubuntu Command Line
  • How to Deploy a React application on a cPanel
  • How to use events listeners and Event Subscriber in Symfony
  • How to Convert PHP CSV to JSON

WEEKLY TAGS

AJAX (1) Codeigniter (1) Javascript (11) JQuery (1) PHP (16) Programming (1) React (3) Symfony (1)

Random Post

How to Add Reset Button in jQuery UI Datepicker
How to Object Destructuring in ES6
Understanding State in React Components
How to Define Global Variables for Twig Templates in Symfony 6
How do sum values from an array of key-value pairs in JavaScript?

Quick Navigation

  • About
  • Contact
  • Privacy Policy

© Teach Developer 2021. All rights reserved