There are science museums in just about every city in every country and they are all pretty much the same.
You should go visit the Queen for a cup of tea in her house :)
Well if that's what you want you may want to use MySQLi :
if ($_SESSION['user']['id'] > 8) {
$id = $_SESSION['user']['id'];
$result = $mysqli->query("SELECT `id` FROM `shout` WHERE `id` = '{$id}'");
$count = $result->num_rows;
echo "Spoken: <b>" . $count . "</b> times!"...
What do you mean if there ID is above 8, the way Wess has written his code, the first 8 users that register will not have a post count, but anyone that registers after that will...
school during the summer holidays when people are stupid and need to re-sit a class or when people need to take an extra class for a career they wan't and can't fit it into normal school timetable....
Yes. Everyone and everything will die eventually, when the world ends. Maybe give your question a narrower time zone.
Religion will be around for a few more hundred years maybe a thousand, but IMO it us already dying off...
Think about the old movies when everyone would go to church on a...
I mean have a folder per differnet theme so if you had this:
Folders
--> themes
------> Bootstrap
------> Default
------> Test
And then in config, it would be $theme = "bootstrap";
you could just do
<link rel="stylesheet" type="text/css" href="themes/<?php echo $theme; ?>/main.css">
and...
They are pretty good, The bottom ones are the best and the tops are still very good but not as good as the bottoms, :) It's as though the more you done the better you got ;)
As m0nsta. said, if statements are faster, but switch statements to look neater and are easier to read.
Here is an example, which would replace simple if statements comparing colors.
<?php
$color = "blue";
if($color == "blue") {
// Do something if the color is blue
}
else if($color...
Click the database on the left hand side, then click the table underneath it that pops out.
Then click Structure at the top nav bar
Click the checkbox of the one you want to edit
Click edit
Then input a value of 1 into the Default Box
download this: http://sqlbuddy.com/ and upload into your directory, then navigate to it and try it, because if it's jumping you back to 0 it might be an error in the program :P