Jump to content


Echoed form not display correctly


2 replies to this topic

#1 Vandalised

    Jedi In Training

  • Members
  • PipPip
  • 307 posts
  • Gender:Male
  • Location:UK
  • Interests:Most sports, football, cricket, hockey, tennis, golf. Web design, graphic design (photoshop) Socialising with friends, going to clubs, bars, concerts.

Posted 25 March 2007 - 07:05 AM

Hey, well I'm having abit of trouble with echoing a form with php here's the code:

    echo "<FORM action=\"{$_SERVER['PHP_SELF']}" .
         "?action=addcomment&id=$id\" method=POST>\n";
    echo "Name: <input type=\"text\" " .
         "width=\"30\" name=\"name\"><BR>\n";
    echo "<TEXTAREA cols=\"40\" rows=\"5\" " .
         "name=\"comment\"></TEXTAREA><BR>\n";
    echo "<input type=\"submit\" name=\"submit\" " .
         "value=\"Add Comment\"\n";
    echo "</FORM>\n";

Basically the form displays on the page, however theblue borders you normally get on each box arn't being displayed.


Any thoughts?

#2 Vandalised

    Jedi In Training

  • Members
  • PipPip
  • 307 posts
  • Gender:Male
  • Location:UK
  • Interests:Most sports, football, cricket, hockey, tennis, golf. Web design, graphic design (photoshop) Socialising with friends, going to clubs, bars, concerts.

Posted 25 March 2007 - 07:30 AM

Just realised it's nothing to do with the echoed html its fine, it's something to do with my site, I'm using a PHP include to include the page inside a div.

I'm confused

#3 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 25 March 2007 - 11:38 AM

If it has to do with display, it is all HTML and CSS, nothing to do with PHP.
You'll have to show us what you are talking about, because I do not recall having blue borders around input fields by default.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users