Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
#!/bin/bash | |
# This script creates virtual hosts and prepares your drupal directory. | |
# you should put it under /usr/local/bin/ | |
# and run it with sudo newvhost | |
# Set the path to your localhost | |
www=/var/www | |
echo "Enter directory name under $www" |
Declare a new variable in PHP equal to the number 3
php $number = 3;
How do you check if a variable has been set in PHP?
php isset($var);
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |