User login
Unsystematic Affiliates
Change Language
Who's online
There are currently 0 users and 5 guests online.
I just ran the code and it works fine...
So since the error is from "line 11" you could try changing the code to this:
<?php
if (!isset($_POST['page'])) {
$page_num = 0;
}
if (isset($_POST['page'])) {
$page_num = $_POST['page'];
}
$page_num++;
//Move the "."
echo "<form method=\"post\">".
"<input type=\"Submit\" name=\"page\" value=\"$page_num\">".
"</form>";
?>
However, I would go over the code
very carefully and make sure there are no lose " " (spaces) in your code.
Submitted by David on January 14, 2007 - 11:36pm.
Reply
Like what you see?
Why not add more? C2D is looking for other Christian Web Masters who would like to help write articles for this site. If you have expericance in FLASH, CSS/HTML, PHP/MySQL, PhotoShop/GIMP, Blender, Javascript, or just General Design - our users would love to hear what you have to say.
Contact Us