470,862 Members | 1,842 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,862 developers. It's quick & easy.

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\results.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
Jul 17 '05 #1
1 1448
*** Wayne escribió/wrote (Mon, 1 Nov 2004 11:38:15 +0200):
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\results.php on
line 37


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
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by George | last post: by
reply views Thread by VK | last post: by
reply views Thread by =?Utf-8?B?Qm9ubmll?= | last post: by
4 posts views Thread by bendlam | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.