I don't know whether this is the right forum for this but I think the issue is with PHP.
I am trying to send array information via post into a PHP page using the following snippet of code
I am using the code for drag and drop using scriptaculous.
In my php page I can access the variable "thedesc".
I am unable to see the array information in "rowdata" or "data". I know that both these contain the same information but I was trying different ways to see the information.
I am confident that there is information in the array as if I add Alert(test) then there is information there.
I would be extremely grateful for any help received as I am really struck on this one
I am trying to send array information via post into a PHP page using the following snippet of code
Code:
function changecolumn1() {
var test=Sortable.serialize("<?php echo $tabname.'Column1' ?>")
new Ajax.Request("updatecolumn1.php?thedesc=<?php echo $tabname.'Column1' ?>&rowdata="+test, {method: 'post',parameters: { data: Sortable.serialize('<?php echo $tabname.'Column1') }})
}
In my php page I can access the variable "thedesc".
I am unable to see the array information in "rowdata" or "data". I know that both these contain the same information but I was trying different ways to see the information.
I am confident that there is information in the array as if I add Alert(test) then there is information there.
I would be extremely grateful for any help received as I am really struck on this one