How to implement php hyperlink to the next php

藏色散人
Release: 2023-02-28 17:46:02
Original
8013 people have browsed it

How to implement php hyperlink to the next php

How to achieve a hyperlink from php to the next php?

Assume your local is 127.0.0.1 and your index.php is under \htdocs\Z_try. That is:

 \htdocs\Z_try\index.php
Copy after login

Your other page is also under \htdocs\Z_try

Then your link address is as follows:

<a href="/z_try/ceshi.php">测试<a>
Copy after login

In fact, you only need to understand that all local For the test page, \htdocs\ is equivalent to 127.0.0.1. If there is a folder, it must be accompanied by the path after the htdocs folder

Recommendation: "PHP Tutorial"

The above is the detailed content of How to implement php hyperlink to the next php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template