Results 1 to 10 of 10

Thread: Syntax error

  1. #1
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default Syntax error

    Im stumped tbh

    Error:
    Parse error: syntax error, unexpected '<' in /www/zzl.org/d/e/v/******/htdocs/***/****/core.php on line 78
    Code:
    <li><select name='genre"><option>partners</option>
    <option>standard</option>
    <option>tutorialsearch</option>
    <option>designrelated</option></select></li>
    Any ideas?

    Thread moved from web design by --ss-- (Forum Super Moderator): Please post in the correct sub-forum .
    Last edited by --ss--; 01-02-2008 at 09:34 PM.
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  2. #2
    Join Date
    Jan 2008
    Posts
    287
    Tokens
    0

    Default

    What the hell?

    I don't even see any PHP there, post the code, line 78.

    And what the hell is with your directory structure /d/e/v/blabla/htdocs/bla/bla/

    No one wants in their that bad..

    I have some ideas, post the code

  3. #3
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    Thanks --ss-- and they are the lines you need.
    And the directories are blanked out as it is an upcoming product.

    Fixed
    Last edited by Forge; 01-02-2008 at 09:56 PM.
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  4. #4
    Join Date
    Jan 2008
    Posts
    287
    Tokens
    0

    Default

    It is a PHP error, I see no PHP error.

    Post the line before it..

  5. #5
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    <li><select name='genre"><option>partners</option>
    Little typo
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  6. #6
    Join Date
    Jan 2008
    Posts
    287
    Tokens
    0

    Default

    Quote Originally Posted by Forge View Post
    Little typo
    If it is a PHP error, you need to post the PHP, not the HTML.

  7. #7
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    I posted the lines it involved.
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  8. #8
    Join Date
    Jan 2008
    Posts
    287
    Tokens
    0

    Default

    Well don't expect any help, as you are providing invalid information that is needed to help fix the problem.

  9. #9
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default

    Post the whole page code, else there's not much we can do.
    i've been here for over 8 years and i don't know why

  10. #10
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    he said it was fixed bout 5 posts ago.
    Stop complaining

    But yh, if its a php error then you have to post the actual php instead of giving us html that doesnt cause errors.
    Nobodys gonna nick some of your echo() code.

    + I really dont know why u starred out directory.. Like we really care what your cpanel username and the path to the file is?
    Coming and going...
    Highers are getting the better of me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •