To make a query to a MySQL database using PHP, you will first create the PHP script. I’m assuming that you have created your database and have the connection information. Then you can take this script and create a webpage where the title to each entry will be outputted in HTML.
Monthly Archives: January 2012
Receive an alert when a terminal command completes
It’s pretty common to issue commands in a Linux terminal that take a little while to complete. Instead of sitting and waiting for the program or process to complete, you can issue the alert command so you know when it completes. For example, if you issue the command sleep 5; alert, your terminal will run […]
Wake Ubuntu with USB mouse or keyboard
I tend to suspend my Ubuntu machine quite a bit. A three second wakeup is a lot faster than a 30 second boot and I can keep my windows open while the machine is asleep without using much more power than a fully shut down computer. Instead of having to reach for a power button […]