Browse other questions tagged php mysql or ask your own question. Try adding double quotes around $POST and your other string returns and see what happens. can anyone tell me what is causing this problem? Make absoloutly certain that there are no tabs or spaces on these lines that shouldn't be. have a peek here
Reply With Quote 03-19-2012,04:51 PM #6 THEFOOL View Profile View Forum Posts Registered User Join Date Nov 2009 Posts 268 Thanks NogDog this works, now I have to add the extra share|improve this answer answered Mar 6 '12 at 11:47 Milap 3,69951640 thanks,it worked.but now let's say i want to update more than one row how do i do that I tried refrencing the fields by number and recieved a simillar error? php mysql share|improve this question edited Jul 25 '13 at 20:49 Erman Belegu 2,7471431 asked Jul 25 '13 at 20:44 user1804933 1041210 marked as duplicate by Michael Berkowski, bwoebi, Gordon Jul http://stackoverflow.com/questions/8400018/syntax-error-unexpected-t-encapsed-and-whitespace-expecting-t-string-or-t-vari
But Joe's syntax highlighter caught it. AAA+BBB+CCC+DDD=ABCD Interpolation of magnitude of discrete Fourier transform (DFT) Movie about a board-game that asks the players touchy questions How to do \widthof with a symbol Why did they bring C3PO This forum is now closed to new posts, but you can browse existing content. User-supplied data should never be placed directly into a SQL query string.
Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? How to prove that a paper published with a particular English transliteration of my Russian name is mine? You can find out more information about the move and how to open a new account (if necessary) here. Syntax Error, Unexpected T_variable Initially your answer helped but I was really fighting an imaginary enemy all along ;-) –PJ Brunet Jul 16 '13 at 7:49 Thanks, I was not aware of this
or is it the M in the get? Do these physical parameters seem plausible? Note how the one built into PHP changes the colors of the text when the offending ` character is removed: BEFORE: PHP Code:
share|improve this answer answered Dec 6 '11 at 12:56 mat 1,1611820 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign https://www.quora.com/How-do-I-overcome-Parse-error-syntax-error-unexpected-T_ENCAPSED_AND_WHITESPACE-expecting-T_STRING-or-T_VARIABLE-or-T_NUM_STRING-in-home-user-public_html-add-php-on-line-13 Thank you so very much. Unexpected T_encapsed_and_whitespace, Expecting T_string Or T_variable Or T_num_string If not, could you post the code correctly and tell us what line is causing the error? Parse Error Syntax Error Unexpected T_encapsed_and_whitespace Expecting Identifier T_string hint: if someone gives you a suggestion - try following it up.
To start viewing messages, select the forum that you want to visit from the selection below. navigate here Not the answer you're looking for? Start a free trial today!Learn More at Periscopedata.comAnswer Wiki5 Answers Pramod Kumar, I have been working on Web Development for last 5 years. Save your draft before refreshing this page.Submit any pending changes before refreshing this page. Unexpected T_constant_encapsed_string
Not the answer you're looking for? The time now is 07:51 PM. asked 4 years ago viewed 62078 times active 4 months ago Linked 0 unexpected T_ENCAPSED_AND_WHITESPACE 225 Multiple Updates in MySQL -1 Parse Error: (T_ENCAPSED_AND_WHITESPACE) Related 0How do I fix this “T_ENCAPSED_AND_WHITESPACE, http://back2cloud.com/syntax-error/parse-error-syntax-error-unexpected-t-encapsed-and-whitespace-expecting-t-string-in.php I know this syntax error usually comes up because of some missing or out of place curly brace or some issue with single/double quotes and I'm not sure there is one
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Parse Error: Syntax Error, Unexpected End Of File Results 1 to 6 of 6 Thread: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING o Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear what...In PHP error codes, what does the T stand for in T_VARIABLE?What is "syntax error unexpected $end" in PHP?Why couldn't PHP throw fetch MySQL error?Top StoriesSitemap#ABCDEFGHIJKLMNOPQRSTUVWXYZAbout - Careers - Privacy -
Topics HTML CSS JS PHP Ruby Mobile UX Design Store Forums Subscribe Home Forum What's New? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed What is a tire speed rating and is it important that the speed rating matches on both axles? Heredoc In Php Geany's syntax highlighter didn't notice it.
but i follow all the rules of heredoc carefully.then why there is bug.how it can be fix.i can't find Back to top #4 Muddy_Funster Muddy_Funster Advanced Member Members 3,383 posts Posted mysqli_error($conn);}mysqli_close($conn);?>UpdateCancelPromoted by Periscopedata.comData Scientist Pro Tools. DDoS ignorant newbie question: Why not block originating IP addresses? this contact form Why did they bring C3PO to Jabba's palace and other dangerous missions?
Realy could some explanation and advice, all I see is the trees. Carrying Metal gifts to USA (elephant, eagle & peacock) for my friends Generating Pythagorean triples below an upper bound Bangalore to Tiruvannamalai : Even, asphalt road How do I "Install" Linux? and this is the error I recieve. Why does a full moon seem uniformly bright from earth, shouldn't it be dimmer at the "border"?