i have a textarea named skills..

i wanna get values from skills and put it in a array ..my code

        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <form name="f1" action="wel.php" method="post">
            <textarea name="table"></textarea>
            <textarea name="skills"></textarea>
            <textarea name="city"></textarea>
        <textarea name="region"></textarea>
        <textarea name="country"></textarea>
        <input type="submit">

Getting value from a textarea in PHP is similar to getting value from a textbox.It's done like:


But assuming that you want to put it in an array,I assume that the string is a collection of skills separated by some delimiter,like a comma for which you can use the explode() function in PHP and store the array of 'skills' in a variable $skills like:

    $skills = explode(',',$_POST['skills']);

Hope that answers your query.

thank u i got it please reply to my other questions also...
can i search a single column simultanously for 2 words in mysql???

we can use | or operator but not and ...

yes you can use or operator

select * from employee where id = 10 or name = 'ankit'