View Single Post
  #4 (permalink)  
Old 10-18-2007, 08:54 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,119
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Thank you all for the help, but I'm trying to figure out why does this error always come up:

Quote:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/5/d158572600/htdocs/fb/broadcast/fbapi_php4_restlib.php on line 485
It seems that there's nothingw rong in line 485 of that document:

PHP Code:
  public function data_setUserPreference($pref_id$value) {
    return 
$this->call_method
      
('fb.data.setUserPreference',
       array(
'pref_id' => $pref_id,
             
'value' => $value));
  } 
But I'm just wondering why does that error always showed up, this time I'm using the PHP4 API, but it still pop up an error for some reason, btw, I didn't write this API.. the website that I want to create the application for is the one who wrote this...

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote