How to use the address bar to pass variables

Source: Internet
Author: User
How can I use the address bar to pass variables? I have some code & lt; td & gt; User: & lt ;? Phpecho $ array [user];? & Gt; Title: & lt; ahref & quot; localhostdiscussanswer. php? Link & lt ;? Php $ array [title];? & Gt; & quot; & gt; how to use the address bar to transmit variables
Ladies and gentlemen, I have some code
User: Title: ">

It is the title. I want to jump to another page and pass the value of $ array [title] to the next page. I tried it.
Link = It seems useless. it seems that only constants can be passed after link =. Because there are many headers in the database, each of which can open the next page, variables are used. How can this problem be solved?

------ Solution --------------------
First, make sure that $ array ['title'] has a value. On the next page, print_r ($ _ GET); what do you see?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.