<?php
if (!isset($_POST['page'])) {
$page_num = 0;
}
if (isset($_POST['page'])) {
$page_num = $_POST['page'];
}
$page_num++;
echo "<form method=\"post\">"
."<input type=\"Submit\" name=\"page\" value=\"$page_num\">"
."</form>";
?>When I typed this in and ran it from the browser it said:
Parse error: parse error, unexpected T_ECHO in C:\wamp\www\learningphpfinally\simplepost.php on line 11
What is wrong here I checked it over and over and don't see what I have done wrong unless it is wrong from above.