html - Please Help... unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/manseld/public_html/scripts/Start.php on line 23 -



html - Please Help... unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/manseld/public_html/scripts/Start.php on line 23 -

i'm getting error:

parse error: syntax error, unexpected t_constant_encapsed_string, expecting ',' or ';' in /home/manseld/public_html/scripts/start.php on line 23

this code on website:

<?php include('/home/manseld/public_html/scripts/config.php'); $name = stripslashes($_get['n']); $height = stripslashes($_get['h']); $width = stripslashes($_get['w']); echo '<?php include('/home/manseld/public_html/scripts/config.php'); ?> <title><?php echo "$title"; ?></title> <head> <link href="/stylesheets/stylesheet1.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="<?php echo "$favicon"; ?>"/> <div style="text-align:center"> <font size=6 color=white> <?php echo "$menu"; ?> </div> </head> <style type="text/css"> body { background: url("<?php echo "$background"; ?>") 50% 50% repeat } </style> <div style="text-align:center"> <embed src="/files/'$name'.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" quality="high" width="'$width'" height="'$height'" bgcolor="" loop="false"></embed><br> </div>'; ?>

so, how can problem fixed? i'm not sure how implement variables in manner, help?

thank help, game site works great :d here working version!

<?php $name = stripslashes($_get['name']); $height = stripslashes($_get['height']); $width = stripslashes($_get['width']); ?> <?php include('/home/manseld/public_html/scripts/config.php'); ?> <title><?php echo "$title"; ?></title> <head> <link href="/stylesheets/stylesheet1.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="<?php echo "$favicon"; ?>"/> <div style="text-align:center"> <font size=6 color=white> <?php echo "$menu"; ?> </div> </head> <style type="text/css"> body { background: url("<?php echo "$background"; ?>") 50% 50% repeat } </style> <div style="text-align:center"> <embed src="/files/<?php echo $name; ?>.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" quality="high" width="<?php echo $width; ?>" height="<?php echo $height; ?>" bgcolor="" loop="false"></embed><br> </div>

best thing larn php basics ..

might help you

<?php include('/home/manseld/public_html/scripts/config.php'); $name = stripslashes($_get['n']); $height = stripslashes($_get['h']); $width = stripslashes($_get['w']); ?> <title><?php echo $title; ?></title> <head> <link href="/stylesheets/stylesheet1.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="<?php echo $favicon; ?>"/> <div style="text-align:center"> <font size=6 color=white> <?php echo $menu; ?> </div> </head> <style type="text/css"> body { background: url("<?php echo $background; ?>") 50% 50% repeat } </style> <embed src="/files/'<?php echo $name ?>'.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" quality="high" width="<?php echo $width; ?>" height="<?php echo $height ?>" bgcolor="" loop="false"></embed><br>

';

php html variables get echo

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -