PHP Error - Need Help - Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'?
-
I'm having some trouble figuring out how to correct this error message... Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/no***************ter.php on line 46 Here is the code: 40 } else { 41 echo "<p>This page requires authentication. 42 Please login.</p>"; 43 exit; 44 } 45 } 46 if (isset($_GET['p']) && $_GET['p'] == "login") { 47 if ($_POST['name'] != $reg_user) { 48 echo "<p>Sorry, that username does not match. Use 49 your browser back button to go back and try again.</p>"; 50 exit; And such... I know that my problem lies in opening the echo with " and I need to use some \ somewhere but I can't figure out exactly where. Thank you for any help
-
Answer:
check ur bracket, make sure, each open bracket has a close bracket.
know_it_... at Yahoo! Answers Visit the source
Related Q & A:
- I need help on what I need to buy or do.Best solution by Yahoo! Answers
- I need help with some horse questions, can you help me.Best solution by Yahoo! Answers
- Can't delete name off messenger address list, error code 40402,need help pls?Best solution by Yahoo! Answers
- I did something really bad and now i need help please help me.Best solution by Yahoo! Answers
- How to correct syntax error in Yahoo mail page?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.