123GoToAndPlay
Aug 16th 2007, 6:55 am
Hi all,
Part of the code i am trying
<script language="javascript" type="text/javascript">
.......
var pars = "countryname=<?php echo $countryname;?>";
new Ajax.Updater('formfields', file, { method: 'post', parameters: pars});
...........
</script>
When i set $countryname = array('fr','uk','us') i can't get the arrayvalues from countryname.
Any ideas?
Part of the code i am trying
<script language="javascript" type="text/javascript">
.......
var pars = "countryname=<?php echo $countryname;?>";
new Ajax.Updater('formfields', file, { method: 'post', parameters: pars});
...........
</script>
When i set $countryname = array('fr','uk','us') i can't get the arrayvalues from countryname.
Any ideas?