search

Home  >  Q&A  >  body text

What does the percentage in this function mean? Every time I change this percentage, its value will change. Does this percentage have any practical significance?

<?php

parse_str("id=23 & name=dsjf %40 Adams",$myArray);

print_r($myArray);

?>

小圈圈~小圈圈~2630 days ago1709

reply all(5)I'll reply

  • 有何不可

    有何不可2017-11-24 11:47:53

    % should be similar to an escape character, and then %40 comes out as @ah

    reply
    0
  • ringa_lee

    ringa_lee2017-11-23 21:19:11

    Your % symbol is encrypted, use urldecode to decrypt it, %40 should be a space or something like that

    reply
    0
  • 小圈圈~

    Forehead. . What I mean is, is it necessary to write out this percentage? %20 is a space or something. Anyway, everything is changing. This is what is written in the course, so I ask.

    小圈圈~ · 2017-11-24 10:21:06
  • ringa_lee

    ringa_lee2017-11-23 20:53:56

    Since the pictures are already available, it’s not difficult. Just download the pictures and upload them to your own server

    reply
    0
  • ringa_lee

    Sorry, wrong reply, ignore this reply

    ringa_lee · 2017-11-23 21:17:59
  • Cancelreply