Getting error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Getting error

    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>

    http://WapTops.com- Get Real High Traffic
    http://WapFun.info-Fun 4 Wap

    #2
    Originally posted by slowy View Post
    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

    Comment


      #3
      thats only up to line 9 the error is on 10
      Last edited by Loony; 23.10.09, 10:28.
      Creator of
      Epix.Mobi

      Keep an Eye on us Big things coming soon!!!!
      Need something for your site hit me up here

      http://coding-talk.com/forum/main-fo...r-your-wapsite

      Comment


        #4
        Originally posted by kiss View Post
        You forgot to end at print'</head>';
        done but giving same error

        http://WapTops.com- Get Real High Traffic
        http://WapFun.info-Fun 4 Wap

        Comment


          #5
          the error is telling u what is wrong u have a extra < that u dont need
          Creator of
          Epix.Mobi

          Keep an Eye on us Big things coming soon!!!!
          Need something for your site hit me up here

          http://coding-talk.com/forum/main-fo...r-your-wapsite

          Comment


            #6
            Originally posted by loony View Post
            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.




            Comment


              #7
              guessing it must be on 10 because the code he posted goes to line 10
              Creator of
              Epix.Mobi

              Keep an Eye on us Big things coming soon!!!!
              Need something for your site hit me up here

              http://coding-talk.com/forum/main-fo...r-your-wapsite

              Comment


                #8
                looks the print"</head> is missing the end quotation mark .

                if thats line 10 .
                Wapchat4u


                Topsites4u

                Comment


                  #9
                  add print' before the title declaring starts. and add '; after the head closes. its too easy.
                  mysterio.al - programming is a functional art

                  Comment

                  Working...
                  X