search

Home  >  Q&A  >  body text

How to pass variables

<a href="/index.php?a=user2 & modify= " ><?php echo $bbs_v['user_id']; ?></a>

Please give me some advice: How to pass the variable <?php echo $bbs_v['user_id']; ?> to the index.php file.

黎明黎明1298 days ago776

reply all(3)I'll reply

  • 猪老湿

    猪老湿2021-05-14 13:55:19

    Assemble <?php echo $bbs_v['user_id']; ?> as a string into the get request

    reply
    0
  • 黎明

    Can you give me some code examples? Thanks.

    黎明 · 2021-05-14 21:00:36
    黎明

    It worked, thanks. .

    黎明 · 2021-05-14 21:03:37
  • Cancelreply