![]() Outputs to URL: Needs to work with RSForms. isn't working, I have just thought of an idea, I will try embedding some PHP to hidden fields so that the input data is replicated into hidden fields as encoded versions, then to attach the encoded copies (hidden fields) to the URL. I assume it will look something similar like this: $encodnameval = encodeurl($_POST) Īny help is greatly appreciated, Merci! Josh.Įdit: Code above changed, but still not working. ![]() I am working with PHP ONLY, so please can you specify a solution that will take a variable and return an encoded variable. ![]() %20 for 'spaces', so that eventually the output will look like so: To Approve this request, Please Add it to the Calendar: As the variables are being attached to a URL, I was hoping to encode the variables with the correct encoding. Yes, of course your code works, there are many versions of that solution. Output: To Approve this request, Please Add it to the Calendar: My previous post was responding to Houdini, who was asking why I would want to call a function from a hyperlink. The 'modify the output layout': To Approve this request, Please Add it to the Calendar: urlencode () function can return a string in which all non-alphanumeric characters except '-.' are replaced with percent () sign followed by two hex digits and spaces encoded as plus (+) signs. I have a web-form that outputs the results as PHP variables. urlencode () function is convenient when an encoding string to be used in a query part of the URL, as a convenient way to pass variables to the next page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |