Search results

  1. B

    Solve this PHP problem

    I think you forgot a } for the if statement from this piece of code: if (isset($_POST['joke'])) { $joke = $_POST['joke']; $sql = "INSERT INTO joke SET joke='$joke', jokesate=CURDATE()"; if (mysql_query($sql)) { echo '<p>Your joke has been added. </p>'; } else {...
Top Bottom