Home > Syntax Error > Php Parse Error Syntax Error Unexpected T_sl In

Php Parse Error Syntax Error Unexpected T_sl In


You should only remove the tabs and spaces on the same line as END;. –Michiel Pater Mar 24 '11 at 8:35 add a comment| up vote 16 down vote Just had Story about crystal flowers that stop time? What's difference between these two sentences? Browse other questions tagged mime php or ask your own question. http://back2cloud.com/syntax-error/parse-syntax-error-unexpected-end.php

What do you call "intellectual" jobs? Thanks Reply With Quote 12-12-2006,12:24 PM #4 NogDog View Profile View Forum Posts Visit Homepage High Energy Magic Dept. PHP Code: include'config.inc.php';


T_sl Php

I already tried putting this code after </form> tag. added comment into code at (<---------here is where the error msg displayed the this line.) for where the error msg was pointing to PHP Code: $photo_category_list.=<<blahblahblah

ob_end_flush(); // Send the output to the browser ?> “Don't say you don't have enough time. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – Wesley Murch, DavidO, Schleis, giamminIf this question can be reworded Since you started the string with <<

Words that are both anagrams and synonyms of each other A word to describe meaningless exchanges in conversation How do I "install" CentOS? Not the answer you're looking for? I'm too hands on to pick up a book on it, so I'll just have to stick to the front-end and keep working with/hiring back-end programmers, they need to eat too Results 1 to 9 of 9 Thread: [RESOLVED] Parse error: syntax error, unexpected T_SL Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced

What is a Likewise Thing? Parse error: syntax error, unexpected T_SL in... ("token_shiftLeft" is what it turned out being, from a git-merge's <<<<<<<) PHP 5.4 still calls it T_SL, but includes '<<' in the error message, I just accept what I'll use to fix this error. In this case, it looks like you're using it to put JavaScript code into a variable.

Syntax Error, Unexpected T_sl Heredoc

You have them in both locations. http://phpsadness.com/sad/7 Counterintuitive polarizing filters Is it illegal to DDoS a phishing page? T_sl Php Enjoy an ad free experience by logging in. Php Eot Browse other questions tagged php mysql or ask your own question.

But still, doesn't work. –pingboo23 Jan 5 '14 at 8:13 1 @pingboo23 It doesn't really matter, because as I said, you're misusing the heredoc to begin with. http://back2cloud.com/syntax-error/parse-error-syntax-error-unexpected-t-string-expecting-t-as-or-t-paamayim-nekudotayim.php but I found @ShankarDamodaran 's answer easier. –pingboo23 Jan 5 '14 at 8:23 1 @ShankarDamodaran Thanks, but honestly if the original poster has no idea what a HEREDOC is then Why do jet engines smoke? ScallioXTX 2010-04-30 12:34:44 UTC #6 To make life easier you could use a template engine like Smarty. Parse Error: Syntax Error, Unexpected End Of File In

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 Was the Boeing 747 designed to be supersonic? if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])) send_404(); // stop http access to this file function mime_mailer($to, $subject, $message, $headers = NULL, $attachments = NULL, $css = NULL) { if(!preg_match('/^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a- z]{2,6})$/', $to)) return FALSE; if(preg_match('/<(html|head|body|div|a|h|p|table|br|img|b|hr|ol|ul|span|pre|i|form)[^>]*[^>]*>/i', my review here 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, but I'm getting Parse

Yeah, I'm a big believer in clean valid code too, when it comes to CSS / XHTML I'm all over it, but with PHP being so foreign to me there's no Archive Forgot password? | Register Remember Me? As for using an underscore as the start character, I always use one and have never had a problem.

What is the main spoken language in Kiev: Ukrainian or Russian?

asked 2 years ago viewed 2871 times active 2 years ago Related 20Parse error: syntax error, unexpected T_SL on line 237Syntax error, unexpected T_SL-1Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING2Parse error: syntax Some are saying it’s a HEREDOC issue, but to doesn’t seem that simple. Several functions may not work. A single space at end of line 23. –JD Isaacks Aug 6 '10 at 16:05 1 This answer helped me after similar fruitless web searching for 'php <<<' After fixing

I tried to just delete a few spaces on all my web pages in dreamweaver, what it did was pushed all my codes together. However, i am struggling with this tell a friend script as i now recieve an error when it worked before. How do I "install" CentOS? get redirected here I will be grateful for anyone who helps.

thankyou :) Although I don't know what is it for. –pingboo23 Jan 5 '14 at 8:18 1 I didn't know you were editing -_- pingboo23, Accept it as answer if I've tried that but I'm still getting the same error message.