Getting error

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

8 replies · 405 views · started 17 years ago · 1 min read

6 participants
slowy Senior · 357 posts #1

I m getting dis error Parse error: syntax error, unexpected '<' in/home/slowy77/public_html/story/index.phpon line10 here is code

<? echo'<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <html> <head>'; print'<style type="text/css">'; include ("style.css"); print'</style>'; <title>Welcome</title>'; print'</head>
kiss Senior · 294 posts #2

slowy wrote: I m getting dis error Parse error: syntax error, unexpected '<' in/home/slowy77/public_html/story/index.phpon line10 here is code

<? echo'<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <html> <head>'; print'<style type="text/css">'; include ("style.css"); print'</style>'; <title>Welcome</title>'; print'</head>

You forgot to end at print'</head>';

www.inbuzunar.mobi -Your mobile portal pocket

crazybrumi Super moderator Principal · 1,064 posts #6

loony wrote: the error is telling u what is wrong u have a extra < that u dont need

yes this seems to be corect. if you post us lines from 5-15 we can find it for you. but to be hones you should be able to fix this yourself. just look for soemthing like << or < where they shudnt be this maybe on the line above 10 aswell php error are soemtimes wierd showing the wrong line.

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

Mysterio Lead · 630 posts #9

add print' before the title declaring starts. and add '; after the head closes. its too easy.

mysterio.al - programming is a functional art

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close