Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them, it only takes a minute:

I'm getting this error when attempting to update code for my wordpress site: Parse error: syntax error, unexpected T_STRING

I've found the line it is referring to and cannot find the error...

<input type="submit" name="cmdSubmit" value="' . __( 'ADD/UPDATE', 'wp-fevents-book' ) . '" style="background-color:' . $evento['Colore'] . '; color: #0d1764;" />';

Any help would be much appreciated.

share|improve this question
1  
could you post 2 or 3 lines above and below that one? – castis Mar 9 at 17:26
1  
This line does not appear to be complete: you have a terminating semicolon but no variable declaration, etc. Did you cut off part of the line of code? – James Spence Mar 9 at 17:37
    
sentence has not echo at the beginning. – siddhesh Mar 9 at 17:40

1 Answer 1

From above information whatever you are provided

 echo  '<input type="submit" name="cmdSubmit" value="' . __( 'ADD/UPDATE', 'wp-fevents-book' ) . '" style="background-color:' . $evento['Colore'] . '; color: #0d1764;" />';
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.