• Resolved gloriousnoise

    (@gloriousnoise)


    I need to urlencode my variable?

    For example, if I enter “This is my variable” I would like it to end up being: "This%20is%20my%20variable"

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @gloriousnoise,

    Thanks for using the plugin,

    I hope you are doing well, we have to check this and we will keep you updated on this.

    Thanks & Regards

    WP Experts Support Team

    • This reply was modified 3 years, 9 months ago by Mirza Hamza.
    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @gloriousnoise,

    You can use this code snippet.

    Code Snippet:

    $url =  "{url-variable}" ;
    $url_encode = rawurlencode($url);
    echo $url_encode;

    Please check it and let me know.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Any way to urlencode the variable?’ is closed to new replies.