php variable as array key within html form name -


i need send string in form.the form creating using foreach loop.like this

foreach ($myarray $key => $workingwith) { ... work .... echo '<input type="text" name="title['.$workingwith.']" >'; } 

but need resulting url

...php?title["someliteral"]=somevalue&..... 

important me double quotes. rewriting both sending , recieving script option , if im going wrong please tell me so.the recieving script doesnt recognize unquoted key key,so solution best me ?


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -