Results 1 to 3 of 3

Thread: Trouble with a form.. [resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2003
    Posts
    255

    Trouble with a form.. [resolved]

    PHP Code:
    function showPostNews()
    {
      
    $font="<font face=tahoma size=2 color=#FFFFFF>";
      echo 
    "</center \><form action='index.php?page=postn' action='post' \>" .
           
    "$font Title: <input type=text name=title \><br \>" .
           
    "$font Content: <textarea cols='90' rows='10' name='contents' /></textarea \><br \>" .
           
    "$font Access Level*: <input type=text name=acclvl \><br \>" .
           
    "<input type=submit value=\"Post News\" \>";

    I'm invoking the function like this:
    PHP Code:
      case "postnews":
        
    showPostNews();
        break; 
    No matter what I do (and only for this 1 form), the form tries to pass the data via the url and not via post.
    Last edited by R.a.B.B.i.T; Aug 6th, 2004 at 07:20 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width