Current location: Hot Scripts Forums » Programming Languages » PHP » unexpected t_string


unexpected t_string

Reply
  #1 (permalink)  
Old 06-04-05, 06:01 PM
mark0820 mark0820 is offline
New Member
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
unexpected t_string

Any help would be appreciated with this. I'm getting an unexpected T_STRING error on line 35. It's the globalized line.

if (empty($_REQUEST['do']))

log_admin_action ('./adminfunctions.php')


globalize($_REQUEST, array(

'redirect' => STR,
'nojs' => INT,
'loc' => STR_NOHTML,
));
Reply With Quote
  #2 (permalink)  
Old 06-05-05, 01:41 AM
Fallen Angel Fallen Angel is offline
New Member
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
You missed a ; after your log_admin_action.

PHP Code:

 log_admin_action ('./adminfunctions.php'); 

Reply With Quote
  #3 (permalink)  
Old 06-05-05, 10:07 PM
ibzi ibzi is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Don't forget the semi-colon
__________________
--
Help us Fight SPAM!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unexpected t_string lordy PHP 7 06-29-07 05:17 AM
parse error, unexpected T_STRING jozin PHP 4 01-19-05 04:57 AM
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE | help? culticka PHP 1 11-25-04 03:10 PM
Parse error: unexpected $ altlprsn PHP 3 05-25-04 12:59 AM
unexpected T_CONSTANT_ENCAPSED_STRING banli PHP 4 04-12-04 06:27 PM


All times are GMT -5. The time now is 06:49 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.