/    Sign up×
Community /Pin to ProfileBookmark

Parse error problem

Hello:

I’m running a PHP script and I’m receiving the following error message:

Parse error: parse error in /usr50/home/summitwe/public_html/replytopost.php on line 33

Below is a few lines of code before line 33 and after line 33. I have no idea what’s the problem. Can anyone help me out?

Thank you in advance.

27 print “
28 <html>
29 <head>
30 <title>Post Your Reply in $topic_title</title>
31 </head>
32 <body bgcolor=”#DDDDDD” text=”#000000″>
33 <center>
34 <table width=”740″ border=”0″ cellpadding=”0″
35 cellspacing=”0″ style=”border-collapse: collapse; border: 3px
36 double #C0C0C0″ bordercolor=”#111111″ height=”410″>

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@pyroAug 29.2004 — You need to escape the double quotes, a la

27 print "

28 <html>

29 <head>

30 <title>Post Your Reply in $topic_title</title>

31 </head>

32 <body bgcolor="#DDDDDD" text="#000000">

33 <center>

34 <table width="740" border="0" cellpadding="0"

35 cellspacing="0" style="border-collapse: collapse; border: 3px

36 double #C0C0C0" bordercolor="#111111" height="410">
Copy linkTweet thisAlerts:
@hbradshawauthorAug 29.2004 — Oh good grief. There is a lot of escaping to do. This should be fun.

Thank you very much for the help. Hopefully it will work.
Copy linkTweet thisAlerts:
@pyroAug 30.2004 — You could use one of these, then:

[code=php]?>
<html>
<head>
<title>Post Your Reply in <?PHP echo $topic_title; ?></title>
</head>
<body bgcolor="#DDDDDD" text="#000000">
<center>
<table width="740" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: 3px double #C0C0C0" bordercolor="#111111" height="410">
<?PHP
[/code]


or:

[code=php]print '
<html>
<head>
<title>Post Your Reply in '.$topic_title.'</title>
</head>
<body bgcolor="#DDDDDD" text="#000000">
<center>
<table width="740" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: 3px double #C0C0C0" bordercolor="#111111" height="410">[/code]
Copy linkTweet thisAlerts:
@hbradshawauthorAug 30.2004 — Thank you for all the help. The shortcuts you gave me certainly worked well.

Thanks again.
×

Success!

Help @hbradshaw spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...