having a parse error

Home Forums Scripts GirlsWhoGeek Scripts having a parse error

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  beckiparsons 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13925

    beckiparsons
    Participant

    from Part 2 of “Build a Blog”

    This is the line: <form method=”post” action=”<?php echo $_SERVER; ?>”>

    This is what I’m getting: Parse error: syntax error, unexpected ‘<’ in /home…on line 36

    I have no idea what to do…please help.

    #14757

    Rose
    Participant

    My guess is that you have

    <form method=”post”…

    inside a

    <?php

    block, which would cause an error. Make sure you’ve closed it ( ?> )

    before starting

    <form

    #14758

    Luka
    Participant

    In other words, if you are using DreamWeaver, and <form method="post" action=" part is red and not orange, you definitely didn’t close php, so do what Rose said :)

    #14759

    beckiparsons
    Participant

    got it…thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.