Omgili - forum search, search forums  
  

Discussions about unexpected t_string

Displaying 1 - 10 out of 399 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I've got Parse error: syntax error, unexpected T_STRING and I think it might be somewhere in this line (it's postdata that i'm using with curl) Is this line causing this error? How do i fix it?
Started by on , 3 posts by 3 people.  
Yeah John Kugelman is right, I just tested it, PHP is fun: It sucks cause you can't like elaborate on a given answer or comment if you did not start the thread, so to... .
You're missing a semi-colon at the end, that's the only thing wrong with that line .
I've created the a class and tested, and getting the error Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in /usr/local/apache/htdocs/MiniBlog/user/user_class.php on line 96 The line 96 is in the function of class User: class User...
Started by on , 3 posts by 3 people.  
What about the spelling mistake? functioin != function hahahah dat was soo funny :D i had d same problem "cfunction" woah not complicated is it :) .
It's probably something simple I am not seeing because I've stared at it too long. Any ideas? It's throwing on line 119, I've indicated it below Parse error: syntax error, unexpected T_STRING in /home6/cleanai4/public_html/act.php on line 119 I'm just...
Started by on , 3 posts by 3 people.  
And make....
Also note: unless you have a variable called $tmp outside of the code segment, you're setting $phone to an undeclared variable .
')' ...
Substr($phone, 0 , 3).
You're missing the concatenation after the first part of $phonetmp, should be '(' .
Ask your Facebook Friends
I'm trying to get Zend Amf working on my hosting services (Lunarpages, if that matters). I can get it working on my local machine, but after changing a few directories and posting the code, I keep getting this error: Parse error: syntax error, unexpected...
Started by on , 3 posts by 3 people.  
Are running PHP4 on the server then ' implements Zend_Server_Interface ' will be unexpected because.
I'm trying to define a new shortcode in WordPress, and I get the following error when the function is loaded (just loaded, I haven't tried to call it anywhere yet): Parse error: syntax error, unexpected T_STRING in /pathtomytheme/user_functions.php on...
Started by on , 3 posts by 3 people.  
This might sound weird, but the "-" sign in line 105 is ... .
Have you tried to var_dump( $cats ) ? Sometimes count() can return false depending on some situations, but on this case I'm pretty sure it only returned the entire string as it didn't found it .
Hi folks, I'm getting this syntax error and I know it's PHP 101, but I wouldn't know php if it hit me over the head with a curly bracket. Any help would be appreciated. Thanks <?php echo ($this->getProduct()->getCategory() ? $this->getProduct...
Started by on , 3 posts by 3 people.  
What kind of apostrophe is that? ‘no category’ Should be 'no category' ; at the end of the statement? .
So I'm writing a script in codeigniter, and I get the following error message: Parse error: syntax error, unexpected T_STRING in /home/globalar/public_html/givinghusband.com/system/application/controllers/sizes.php on line 1 the only problem: the only...
Started by on , 4 posts by 4 people.  
Or you....
If you are uncertain try opening your php file in another editor or use the Cpanel file manager to take a peak .
I just had this problem and the editor removed all line breaks .
There could be a problem with your editor when it updated the file .
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'? I'm getting this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' When I run my php script. The error is on line 58 so I put lines 58 and 59 below. Could ...
Started by on , 3 posts by 3 people.  
Answer Snippets (Read the full thread at yahoo):
I believe it might have to do with your } .
I've test your code but found no error there..
The error is ABOVE line 58...
I am getting the dreaded PHP error Parse error: syntax error, unexpected T_STRING in /path/to/the/file in line 14 Here is the code: function getSomeList($userid) { $query = "SELECT list_id, username_id FROM user_list WHERE username_id = 1"; $result = ...
Started by on , 3 posts by 3 people.  
The unexpected T_STRING error happen when you have a string in a place it is not suppose.
Hi I am trying to install a worpdpess plugin - phpbb_topics_portal The plugin seems to find what is needed but I think does not talk to the database, I keep getting the following error Parse error: syntax error, unexpected T_STRING in /home2/tom999/public...
Started by on , 3 posts by 3 people.  
The message....
Steve Hi It sounds like you have accidently removed something in this file while you were maybe entering some config information in it .
Can you post the contents of web.config (make sure you redact any personal details/passwords it may contain) .
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Answer | Open Programming & Design Questions – Yahoo! Answers
  • IT & Internet - UK Business
Related Searches
syntax error unexpected T_IF expecting T_STRING or T_VARIABLE or ' ' i    Parse error syntax error unexpected T_INCLUDE expecting T_STRING in    syntax error unexpected T_LNUMBER expecting T_STRING or T_VARIABLE   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost