page error

Started on the old forum in January 2010 · view the original in the archive · old links redirect here

3 replies · 367 views · started 16 years ago · 1 min read

3 participants
brand Senior · 391 posts #1

hi there i keep getting error on this

}
if($page>1){
$main.="<br/><a href=\"1.php?page=".($page-1)."&sid=$sid\"><-Prev</a> ";
}
if($page<$num_pages){
if($page==1)$main.="<br/>";
$main.="<a href=\"1.php?page=".($page+1)."&sid=$sid\">Next-></a>";
}
$main.="<br/>Page - $page/$num_pages</p>\n";
      $main.=getjumper($action, $sid,"index");
    }
    $main.="</p>";

this is the error

Parse error: syntax error, unexpected '>' in /home/*******/public_html/1.php on line 88

line 88 is this

$main.="<br/><a href=\"1.php?page=".($page-1)."&sid=$sid\"><-Prev</a> ";

thanks to any one that help me with this

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

brand Senior · 391 posts #3

i have tryed that mate but still got the errror

i think i forgot to say i am trying to get this to work on a wapdesire v_2 script

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

modfiles Developer · 200 posts #4

remove or replace < in

<-Prev

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close