Home > syntax error > parse error syntax error unexpected t_lnumber in c

Parse Error Syntax Error Unexpected T_lnumber In C

Contents

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and parse error syntax error unexpected t_lnumber in php policies of this site About Us Learn more about Stack Overflow the

Joomla Parse Error: Syntax Error, Unexpected T_lnumber, Expecting T_variable Or '$'

company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags syntax error unexpected 3 t_lnumber Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only

Php T_lnumber

takes a minute: Sign up Getting parse error: syntax error, unexpected T_LNUMBER in php? up vote 0 down vote favorite I am trying to insert serialize values into ac_services table but getting error: syntax error, unexpected T_LNUMBER in C:\wamp\www\db-setup\steps\db-install-script.php on line 559 $insert_ac_services = " INSERT INTO `ac_services` ( `id` , `name` , `desc` , `duration` , `unit` , `paddingtime` , `cost` , `capacity` , `availability` , `business_id` , `category_id` , `staff_id` ) VALUES ( 1, 'Default', 'this is default service.', 30, 'minute', 10, 15, 1, 'yes', 0, 0, 'a:1:{i:0;s:2:"1";}' ) ; "; mysql_query($insert_ac_services); I generated this php query by phpmyadmin. But not working, Any suggestion? Thanks... php database phpmyadmin parse-error share|improve this question edited Aug 5 '13 at 6:09 asked Aug 31 '12 at 13:44 Frank 81662445 add a comment| 4 Answers 4 active oldest votes up vote 6 down vote accepted You should escape the ". 'a:1:{i:0;s:2:\"1\";}' ) ; share|improve this answer answered Aug 31 '12 at 13:45 Sherlock 5,60962363 Some-times stacker rocks. I made it and my installer completed. Thanks so much... –Frank Sep 1 '12 at 6:32 add a comment| up vote 1 down vote Use a heredoc, so that you don't need to escape any quotes. $insert_ac_services = <<

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community http://stackoverflow.com/questions/12216618/getting-parse-error-syntax-error-unexpected-t-lnumber-in-php of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Parse error: syntax error, unexpected T_LNUMBER in /home2/cgobr/public_html/wp-content/themes/coin/page-home.php on line 17 up vote -1 down vote favorite Let me begin by saying that I know pretty much nothing about PHP, and was just attempting to http://stackoverflow.com/questions/22302804/parse-error-syntax-error-unexpected-t-lnumber-in-home2-cgobr-public-html-wp-c swap image sliders on my homepage as one was conflicting with a required plugin. I'm getting this error: Parse error: syntax error, unexpected T_LNUMBER in /home2/cgobr/public_html/wp-content/themes/coin/page-home.php on line 17 Can somebody please tell me where the coding is wrong. I mean, I'm not retarded, I know css, I know html, just not php stuff. Please please please help!!! Below is the code:




    ' . __( 'Pages:', 'kameleon' ) . '&after=') ?> ', '' ) ?>

    Featured Video