PHP passing variable id through href

后端 未结 4 1589
一向
一向 2020-12-10 20:08

I want to have a link to another page, with particular subject, How can I pass the id ?


        &         
4条回答
  •  醉话见心
    2020-12-10 20:52

    Yes you can, it will be considered as GET. as for how to pass it. Edit the following:

     

This is the part:

 id?>

You closed php tag when u started adding html therefore open it again to echo php vars.

提交回复
热议问题
Add Topic