PHP will work on windows platforms if that is what you mean. What I am talking about doesnt depend on the platform.
What database are u using(mysql, postgres sql...etc)? The database has to be open for you to do anything to it (select, insert, update, delete)
In PHP you have to open the database before you update it.
For instance if you are using a mysql database
mysql_connect("host", "login", "password"); opens the mysql connection, then you can select a database using
mysql_select("database");
check out the manual on www.php.net for more information about connection to various databases.
If you declare multiple form variables the same name, PHP will treat those variables as an array when they are passed
So in your case $control[0] and $control[1] are your 2 textarea values since they both have the same name. $control[0] is your first textarea, $control[1] is your second text area.
Make your form submit to a test page with the following statement:
<?php
echo "The first textarea is: " . $control[0] . "<br>";
echo "The second textarea is: " . $control[1] . "<br>";
?>
The statement above will echo the values so you can see what I'm talking about