PHP Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in C:\Inetpub\wwwroot\webroot\www.novotempo.org.br\lib\Twitter.php on line 54
Hi, I´m Douglas from Brazil, and this above is my problem.
The line is just a DEFINE.... this one : define('DEBUG',false);
Searching the net I found that this usually occurs when you´re using PHP…
A beta tester of mine has a Asus eee pc 701 running Android 2.0 and he is trying to install an app on it from my web site. He is able to download the app but is getting a "Parse Error: There is a problem parsing the package" error. I don't really know if this problem is with the eee pc or with the apk since he is the first person to try to…
Hi,
I get errors at a lot of places when trying to retrieve ticker symbols for US companies from http://d.yimg.com/autoc.finance.yahoo.com/autoc?callback=YAHOO.Finance.SymbolSuggest.ssCallback&query=Wal-Mart
I have tried to:
resp = Net::HTTP.get_response(URI.parse(url))
data = resp.body
qwe = data.split("symbol")
p qwe[1]
arr1 =…
I am programming an IOS app that will use parse to login a user. Using storyboard I have the login button connected to another view controller with the push segue. Whether the username and password are correct the button selection always goes to the new view controller. I might be doing this all wrong. Any help is appreciated. Here is…
i have a string that looks like this -
"1AL||9CA||34CO||196WY||..."
i want to use a for loop or while loop, in which if i have an integer, it should parse this string and delete the value matching that integer.
example for above string
string = "1AL||9CA||34CO||196WY||..."
integer = 34
for
...
loop
new string =…
I'm writing an error logging service that will be integrated into websites running on my server, that will email me error batches, etc.
So I've been trying to find out if there's a way to handle fatal and parse errors, however not using the tricks to handle it in PHP code (output buffer, shutdown function). I'm…
Scenario: I'm working on a rails app that will take data entry in the form of uploaded text-based files. I need to parse these files before importing the data. I can choose the file type uploaded to the app; the software used by those uploading has several export options regarding file type.
While it may be…
Hi,
Im wondering how to parse a url into an URL object(of some kind) in C.
So that I would be able to extract key/val objects from a querystring.
Have looked at:
http://stackoverflow.com/questions/726122/best-ways-of-parsing-a-url-using-c
And several other resources, even Google Code, but haven't found…
Hi! I've got a WPF application containing a WCF service.
The Xaml code is pretty simple:
Enter your text here
Send
Address:
Here is the service:
namespace WpfApplication1
{
…
I am receiving this PHP parse error on the last line of this php file. What am I missing? Here is the last 15 lines or so.
<div id="footer">
<br />
<p><b>Member Total:</b><?php echo…
I'm working on one of those projects where there are a million better ways to accomplish what I need but I have no choice and I have to do it this way. Here it is:
There is a web form, when the user fills it out and hits a submit a human…
Hi,
I want to able programmatically parse and edit C++ source files.
I need to be able to change/add code in certain sections of code (i.e. in functions, class blocks, etc). I would also (preferably) be able to get comments as well.…
Hi
I am trying to create a javascript quiz, that gets the questions from a xml file. At the moment I am only starting out trying to parse my xml file without any success. Can anyone point me to what I am doing wrong?
<html>…
I have a php code that works well in PHP 5.2 but throwing "Parse error: syntax error, unexpected '}'" after upgrading to PHP 5.3.
When I use echo/print or heredocs to print all the HTML part of the code, the error is gone.
My…