Php Syntax Error Unexpected T_string Expecting T_constant_encapsed_string
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Drupal Parse Error: Syntax Error, Unexpected T_string, Expecting T_constant_encapsed_string
the workings and policies of this site About Us Learn more wordpress "parse error: syntax error, unexpected t_string, expecting t_constant_encapsed_string" about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack parse error syntax error unexpected t_string in php Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping
T_string Php
each other. Join them; it only takes a minute: Sign up PHP: syntax error, unexpected T_STRING [closed] up vote 1 down vote favorite I am getting a syntax error for this PHP code syntax error, unexpected T_STRING It says line 2, which is the include line:
Parse Error: Syntax Error, Unexpected T_constant_encapsed_string
$counter = 1; // If we want more fields, then use, preupload.php?number_of_fields=20 $number_of_fields = (isset($_GET['number_of_fields'])) ? (int)($_GET['number_of_fields']) : 5; // Firstly Lets build the Category List $result = mysql_query('SELECT category_id,category_name FROM gallery_category'); while($row = mysql_fetch_array($result)) { $photo_category_list .= <<<__HTML_END \n __HTML_END; } mysql_free_result( $result ); // Lets build the Image Uploading fields while($counter <= $number_of_fields) { $photo_upload_fields .= <<<__HTML_END