Hello,
I have being unable to Go forward since all these days about this issue.... Here is My code
Code PHP:
<body>
<?php
$sql = 'CREATE TABLE joke(
                          id INT NOT NULL AUTO_INCREMEMTT PRIMARY KEY,
                          joketext TEXT,
                          jokedate DATE NOT NULL
                          ) DEFAULT CHARACTER SET utf8';
if (!mysqli_query($link, $sql));   my line 15
{
    $output = 'Error creating joke table: ' . 
    mysqli_error($link);  my line 18
    include 'output.html.php';
    exit();
}
$output = 'Joke table sucessully Created.';
include  'output.html.php';
 
?>
</body>
</html>
And here is the Error I am Seeing... What is the Way Out

"Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\Createtable\index.php on line 15

Warning: mysqli_error() expects parameter 1 to be mysqli, null given in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\Createtable\index.php on line 18
Error creating joke table:


"I will really Appreciate If I can see a Solution.. thanks