This is my first post here, and I'm so glad to have found a place with helpful people, who don't call you an idiot for not knowing something!
Here's my problem:
I'm trying to save a select array to a file as a string (joining the entries in the array with '§').
I tried alot of things, before someone finally told me that I can't use js-variables in php code.
So I tried to find out how you turn a js-variable/array into a php-variable/array.
I found $_POST, but when I use:
<?php $saving = $_POST['turnelista']; echo $saving; ?>
where 'turnelista' is the name of the select list in the form that has the method="post" and action="spara.php", which is the page that has the above php-code, it echoes nothing. Seems you can't use $_POST to get a php-array out of a select form?
If you have an explanation for this, please let me know.
If you have any better ideas of how to save the info from a select list into a single string on a file, each entry seperated by §, please let me know!
Thanks in advance!