Php Parse Error Syntax Error Unexpected T_sl In
Contents |
here for a quick overview of the site Help Center t_sl php Detailed answers to any questions you might have Meta syntax error, unexpected t_sl heredoc Discuss the workings and policies of this site About Us Learn more about Stack Overflow php eot the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x parse error: syntax error, unexpected end of file in Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Parse error: syntax error, unexpected '<<' (T_SL) [closed] up vote 0 down vote favorite I have this code,
Heredoc Php
but I'm getting Parse error: syntax error, unexpected '<<' (T_SL)
while($row = mysqli_fetch_array($result)) { echo "ID:
"; echo "Lastname:
"; echo "Codename:
"; echo "Location:
"; echo "Rank:
"; }
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 9 of 9 Thread: [RESOLVED] Parse http://stackoverflow.com/questions/20931450/parse-error-syntax-error-unexpected-t-sl error: syntax error, unexpected T_SL Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 12-12-2006,12:02 PM #1 vigar_neil View Profile View Forum Posts Junior Member Join Date Nov http://board.phpbuilder.com/showthread.php?10333424-RESOLVED-Parse-error-syntax-error-unexpected-T_SL 2006 Posts 12 [RESOLVED] Parse error: syntax error, unexpected T_SL Hi, I am trying to create an image gallery for my site. I am using the following code, but when I try to load the page I get the following error: Parse error: syntax error, unexpected T_SL in /home/users/uks53122/html/sportsmatesreunited.co.uk/photos/preupload.php on line 15 Can anybody tell me why I am getting this message and how I fix the problem? Any help would be very much appriciated. PHP Code: include'config.inc.php';
//initialization
$photo_upload_fields='';
$counter=1;
//Ifwewantmorefields,thenuse,preupload.php?number_of_fields=20
$number_of_fields=(isset($_GET['number_of_fields']))?
(int)($_GET
not a programmer so I have no idea what the error is with this code. I'd imagine it's a space that needs to be removed or added? Thanks, Bryan ScallioXTX 2010-04-30 00:50:03 UTC #2 The https://www.sitepoint.com/community/t/parse-error-syntax-error-unexpected-t-sl-in/56497 end of a HEREDOC statement must be on a line of its own $ahref = <<
New? Today's Posts FAQ Rules Guidelines Search Advanced Search Forum :: Server side development PHP Parse error: syntax error, unexpected T_SL ?? If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Enjoy an ad free experience by logging in. Not a member yet? Register. Page 1 of 2 12 Last Jump to page: Results 1 to 15 of 18 Thread: Parse error: syntax error, unexpected T_SL ?? Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Rate This Thread Current Rating Excellent Good Average Bad Terrible 04-17-2009,02:45 AM #1 hws View Profile View Forum Posts New Coder Join Date Mar 2009 Posts 49 Thanks 1 Thanked 0 Times in 0 Posts Parse error: syntax error, unexpected T_SL ?? Hi guys, I made a big mistake. I tried to just delete a few spaces on all my web pages in dreamweaver, what it did was pushed all my codes together. so now i had to fix them all up again. However, i am struggling with this tell a friend script as i now recieve an error when it worked before. The error is: Parse error: syntax error, unexpected T_SL in line ...(at this line $theForm = <<
//Youcangetfreeandfriendlyhelpwiththisscriptatthe
//ChristianWebMastersforums:www.christian-web-masters.com/forums
//CopyandpastethiscodeintoyourPHPpage,whereyouwant
//theTellaFriendFormtoappear.
//NoteifyoudonotknowPHP,justmakearegularHTMLpage
//andsaveitasa.phpfile.
//Youcanalsosavethisasa.phpfilesuchas"tell.php"
//andincludeitinthephpfile(s)ofyourchoice
//using:include("tell.php");
//Thenju