Error in syntax for search results

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wayne

    Error in syntax for search results

    Hi,

    Can someone possibly assist me in finding the error in the following:

    echo "<p><strong>".( $i+1).". Login: ";

    I get the following error returned when doing a syntax check

    PHP Parse error: parse error, unexpected '>' in c:\wayne\result s.php on
    line 37

    I am using the SAMS PHP and Mysql Web Development book's example on
    page 231 if that helps any.

    --
    Wayne


  • Alvaro G. Vicario

    #2
    Re: Error in syntax for search results

    *** Wayne escribió/wrote (Mon, 1 Nov 2004 11:38:15 +0200):[color=blue]
    > echo "<p><strong>".( $i+1).". Login: ";
    >
    > I get the following error returned when doing a syntax check
    >
    > PHP Parse error: parse error, unexpected '>' in c:\wayne\result s.php on
    > line 37[/color]

    I'd say the error is in a previous line. It's probably a mismatched quote
    or parenthesis.


    --
    -+ Álvaro G. Vicario - Burgos, Spain
    +- http://www.demogracia.com (la web de humor barnizada para la intemperie)
    ++ Las dudas informáticas recibidas por correo irán directas a la papelera
    -+ I'm not a free help desk, please don't e-mail me your questions
    --

    Comment

    Working...