PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Obadiah
Forum Regular
Posts: 580 Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:
Post
by Obadiah » Wed Aug 09, 2006 4:28 pm
im getting the error
Parse error: parse error, unexpected T_CONCAT_EQUAL
for this block of code
Code: Select all
if(@is_array($errors))
{
$message_2 = "";
foreach($errors as $value)
{
message_2 .=$value." Please try again<br />";
}
include("fields_login.php");
include("double_form.php");
exit();
}
specifically line 144 which is
Code: Select all
message_2 .=$value." Please try again<br />";
but i dont know why...i looked over it like five times....please help
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Aug 09, 2006 4:33 pm
missing a $.
toasty2
Forum Contributor
Posts: 361 Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA
Post
by toasty2 » Wed Aug 09, 2006 4:39 pm
Like he said, you're missing a $
Code: Select all
message_2 .=$value." Please try again<br />";
should be
Code: Select all
$message_2 .=$value." Please try again<br />";
I think...
I could be wrong, I'm new to php
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Wed Aug 09, 2006 4:43 pm
It is probably not necessary to reitterate Feyd's reply.