#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    10
    Rep Power
    0
    I have a script which produces an alphabetic list of people in an LDAP database (106 people)

    If I output the data to an "Input type=text" field, I get all the entries in their own form.

    I would like to output this data into a textarea instead, but when I do I donot get any data.

    My latest coding attempt is :-

    <form method="POST" action=<?php echo PHP_SELF>">
    <Textarea rows="20" cols="10" name="sn" value = "<?php echo $prijmeni?>"></textarea>

    $prijmeni is a string created earlier in the script which has the person's surname, and is processed correctly if I use:-
    <input type=text name="sn" size="10" value = "<?php echo $prijmeni?>">.

    Any suggestions please?

    Tony
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    <form method="POST" action=<?php echo PHP_SELF>">
    <Textarea rows="20" cols="10" name="sn" value = "<?php echo $prijmeni?>"></textarea>


    actually that is wrong

    try this
    <form method="POST" action="<?php echo $PHP_SELF;?>">
    <Textarea rows="20" cols="10" name="sn"><?php echo $prijmeni;?></textarea>


    ------------------
    SR -
    shiju.dreamcenter.net

    "The fear of the LORD is the beginning of knowledge..."



    [This message has been edited by Shiju Rajan (edited May 30, 2000).]

Similar Threads

  1. Codepupil
    By Adachic in forum C Programming
    Replies: 3
    Last Post: February 6th, 2004, 07:50 PM
  2. using variables within form textarea after posting
    By whojar in forum PHP Development
    Replies: 2
    Last Post: January 27th, 2004, 07:07 PM
  3. Need help with posting data onto a form
    By onLOoker in forum Perl Programming
    Replies: 2
    Last Post: January 25th, 2004, 09:58 PM
  4. post data to new window then do redirect
    By theDano in forum PHP Development
    Replies: 2
    Last Post: January 24th, 2004, 07:08 PM
  5. my comp sux lately , need help from pro's
    By Hykinsel007 in forum Windows Help
    Replies: 2
    Last Post: January 5th, 2004, 02:52 PM

IMN logo majestic logo threadwatch logo seochat tools logo