Sign up with your email address to be the first to know about new products, VIP offers, blog features & more.

 




You are viewing How to

How to tutorials with complete step wise instructions of different computing and programming problems for Windows, Linux and MacOS.

How to load MySQL data in Bootstrap Modal Body using AJAX

This article was written when I was doing my minor project back in 2015, but wait I have updated this article with the support of new PHP 7 and MySQLi syntax. You’ll find me using PHP, Bootstrap (not the latest but process is same on new Bootstrap 4 as well), and MySQLi with some flavor of AJAX in this article.  On my project I was building a dashboard to show all data in a table by importing data from MySQL database using PHP, where I also added an Edit button at the end of each row that opens up a Modal box, displaying and allowing the admin to alter information and update the database.

So, in this tutorial I will be showing you the best way of Using Bootstrap Modal with AJAX to import data from MySQL database.

share

How to turn off Viber Message Preview on Lock Screen

In a messaging app like Viber, it is very vulnerable when other people can see the messages your friends sent you. Viber provides a setting that allows to hide the message on lock screen or notification. Most noteworthy, Viber obviously notifies about the new incoming message. Here is the way how to turn off Viber message preview on lock screen on both iPhone and Android phones.

share

How to stay safe in Social Media – Nepali

Social networking websites like MySpace, Facebook, Twitter, and Windows Live Spaces are services people can use to connect with others to share information like photos, videos, and personal messages.

As the popularity of these social sites grows, so do the risks of using them. Hackers, spammers, virus writers, identity thieves, and other criminals follow the traffic.

  “Social media is changing the way we communicate and the way we are perceived, both positively and negatively. Every time you post a photo, or update your status, you are contributing to your own digital footprint and personal brand. ”

Amy Jo Martin, Digital Royalty

Here are 10 tips you can follow to protect yourself whey you use social network.

  1. Use of strong password:  Passwords with are strong when they are longer and when mixed alpha-numeric characters are used.
share

How to undo Git Commits

It is always been said that learning curve of Git can pose a challenge. However, Git has always been an exciting tool, that has enhanced developers ability to work together and ship faster. In the mean time, developers are challenged to undo what they did in past. Likewise, undo-ing commits already made on Git. Here’s a solution, we have put together some useful ways on How to Undo Git Commits.

Undo a git commit and redo

  1. So, you’ve made a commit and now it has to be removed.
  2. This leaves your working tree (the state of your files on disk) unchanged but undoes the commit and leaves the changes you committed unstaged (so they’ll appear as “ Changes not staged for commit ” in git status  and you’ll need to add them again before committing). If you only want to add more changes to the previous commit, or change the commit message [1],
share