Advanced Search

Results 1 to 3 of 3

Thread: Forms not working with long text area

  1. #1
    Join Date
    Jul 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Forms not working with long text area

    Hi frnz

    I have html form with 7 text areas.

    in this text areas we are entering data in UNICODE TAMIL FONT. this submitted data will go to MYSQL data base table.

    i ussed col size 50 and row 10 for text area.

    when i submit the form, its working when we type one or two lines.

    if we enter some long text in the text area, when we submit the form its simply ideal nothing happen. wht is the problem. how can we solve this problem.

    http://brownjoint.com/tamilsource/we.../entryform.php

    this is the forms url.

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    provide the processing code?

  3. #3
    Join Date
    Jul 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default the process code

    <?php
    $issueno =$_POST[issueno];
    $issuedatedate = $_POST[issuedatedate];
    $issuedatemonth = $_POST[issuedatemonth];
    $issuedateyear = $_POST[issuedateyear];
    $frommonth = $_POST[frommonth];
    $tomonth = $_POST[tomonth];
    $pageno = $_POST[pageno];
    $title = $_POST[title];
    $paragraph1 = $_POST[paragraph1];
    $paragraph2 = $_POST[paragraph2];
    $paragraph3 = $_POST[paragraph3];
    $paragraph4 = $_POST[paragraph4];
    $paragraph5 = $_POST[paragraph5];
    mysql_query('set names \'utf-8\'');
    ?>
    -----------------------
    --------------------
    ----------------------------
    -------------------------------------
    <?php
    $querry1 = "INSERT INTO tsmagazine (sno, issueno, issuedatedate, issuedatemonth, issuedateyear, frommonth, tomonth, pageno, title, paragraph1, paragraph2, paragraph3, paragraph4, paragraph5) "."VALUES ('$sno','$issueno','$issuedatedate','$issuedatemonth','$issuedateyear','$frommonth','$tomonth','$pageno','$title','$paragraph1','$paragraph2','$paragraph3','$pa ragraph4','$paragraph5')";

    mysql_query($querry1) or die('hai1, query failed');
    ?>

Bookmarks

Posting Permissions

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