hden
08-10-2002, 09:59 PM
Hello there,
I am working on customizing this php script, and I want to add an image to the code. The code is this:
<?
if ($page > 0) {
echo "<a href=\"index.php3?page=" . ($page - 1) . "\"><img src="next.png" width="25" height="9"> </a>;
}
else {
echo "Next $aantal_per_page messages | ";
}
$bla = 10 + 10 * $page;
if ($num > $bla) {
echo "<a href=\"index.php3?page=" . ($page + 1) . "\">Past $aantal_per_page messages</a>";
}
else {
echo "Past $aantal_per_page messages";
}
?>
The code in bold is my problem, when I go and check to see if it works I get this error:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /mnt/host-users/m3e/Php-Bin/test/index.php3 on line 28
Can anyone help me out??
I am working on customizing this php script, and I want to add an image to the code. The code is this:
<?
if ($page > 0) {
echo "<a href=\"index.php3?page=" . ($page - 1) . "\"><img src="next.png" width="25" height="9"> </a>;
}
else {
echo "Next $aantal_per_page messages | ";
}
$bla = 10 + 10 * $page;
if ($num > $bla) {
echo "<a href=\"index.php3?page=" . ($page + 1) . "\">Past $aantal_per_page messages</a>";
}
else {
echo "Past $aantal_per_page messages";
}
?>
The code in bold is my problem, when I go and check to see if it works I get this error:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /mnt/host-users/m3e/Php-Bin/test/index.php3 on line 28
Can anyone help me out??