Hello, I came with a new video tutorial. This one is about how to properly configure the session library in CodeIgniter. Why this subject? Because, although it is clearly written in the official documentation about how to use the sessions, some people don’t ever seem to have the time to read.
When I work on an existing CodeIgniter project, I usually just copy/paste from previous work: if I need to create a new controller, I simply copy an existing controller that looks similar to what I want to do in the new controller and paste it as the new controller. After that I delete what I […]
Why don’t you take a look at this newer tutorial about creating a multi-level menu in PHP. It also has a Bootstrap Framework implementation 🙂 Well. It’s been a long time since I’ve written a post. I was busy learning Laravel… Currently, I am trying the framework by working on a CMS, and, again, I have […]
There are more ways to retrieve data from a database using PDO. The shortest way, but in my opinion, the too long to remember every single thing in it is as follows:
We’ve been there. To click by mistake a link or a button which deletes an information and not to be asked if I am sure I want to do it. And there goes my work… one second of not paying attention…
What is directory listing? There are those embarassing moments in life when you feel naked when someone sees at you something they aren’t suppose to see. The same happens with a site, when someone gets to a directory where there is no “index.php” or “index.html”. When those files are missing, the site shows the visitor […]
Once you agreed on the advantages of using PDO, and verified that you can use PDO on your server, is time to connect to the database. For your sake i hope that you are already having a database set up. If you don’t, I would like you to set it up.
After the connection to database is successfully created and the PDO object instance is set, the object can be used to perform SQL queries. There are two ways in which you can make SQL queries with PDO:– directly using “exec()“, and “query()” methods,– or with the “prepare()” … “execute()” statement. Exec() and query() The queries that modify rows […]
The new themes in WordPress are so good that most of the time you don’t even need to know html or css to make a change. But now and then appears the need to change something important like changing the logo of your blog, and the only way you can do that is by changing the […]
There are times when is really necessary to change the way people get to your pages. If, for example, sometime in the past you wanted to bring people on a specific php page like, let’s say, ‘hello.php’ and now you want to bring them to ‘howareyou.php’, you make the file just as you want: howareyou.php. […]