For the new comers Django’s Get and Filter functions may be consuming when it comes to decide which one to use. The primary difference between the two is Get will return exactly one object while Filter will return a query
Here is another post to help out PHP beginners. So you created your connection object, wrote your query, created a statement object, bound your variables to protect yourself against injection attacks etc. Now you execute your query and wanna see if
This is will a PHP basics posts. I see this question is asked a lot by the beginners so here it goes. Let’s see how you can detect which button was clicked in a PHP form. Detecting Which Button was
There are various ways that you can do string concatenation in Ruby: 1- Concatenate using “+” operator
myString = "Welcome " + "to " + "Ruby!"
2- Concatenate without the “+” operator
myString = "Welcome " "to " "Ruby!"
3- Concatenate using “<<” operator
myString = "Welcome " << "to " << "Ruby!"
4- Concatenate using “concat” method
myString = "Welcome ".concat("to ").concat("Ruby!")
5- Create an
If you are a web developer/webmaster, it is imperative that you understand positioning and know how relative, absolute and fixed positioning works. In this post, I will try to briefly explain how they work so that you can see the
When it comes to security, you will hear a lot of people talking about things like hashing and encryption. But what are they? What are the differences? What are the practical approaches when it comes to choose which one to use? In
I have already written a post titled “Php Prepared Statements” but it was very brief and did not explain the workings of Prepared Statements, neither did it mention the PROS of using Prepared Statements. In this post, I want to provide
You know If statements. They are almost all the same in most of the programming languages. In PHP, their structure is also just the way you would expect them to be 🙂 Below is a very simple if statement in
Transactions… They are an essential part of programming if you are performing dependent database operations. By dependent database operations, I mean something like this scenario: A) Add a record to table b B) Add a log for this addition operation
Hashing…Why do we need it? We need it to stop bad guys from stealing the passwords of our users in case they are able to steal our database records. PHP 5.5 has a native password hashing API that you can use for