Hello.

I am trying to pass an array as querystring to this php.
Serialze it, pass and and then unserialze it on receiving it sounds the best solution.

But will not work. I get a blank unserized data on testing.php side.

Why ? and what other way to do it, besides session.
(Why not sessions - as the calling page has got many such input buttons to Replace the item, and one calling php)

Code:

 $serializedata = serialize($replacelist_array) ;

 echo "<br><input type='button' name=e_button value='Replace' onClick=javascript:popUpPage('testing.php?rfiles=$replacelist_array')>" ;

....

Any thoughts ?

kbrij

    Sorry the code is to be read like this.

     $serializedata = serialize($replacelist_array) ;
    
     echo "<br><input type='button' name=e_button value='Replace' onClick=javascript:popUpPage('testing.php?rfiles=$serializedata')>" ;
      Write a Reply...