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
Post a Comment