php gets text in hyperlink
扬帆,起航.
扬帆,起航. 2020-07-08 00:23:17
0
5
1346

<a href="test.php">Click Test</a>

For example, there is such a tag hyperlink

How to get "Click Test" through php "These words?"

How to write test.php,

扬帆,起航.
扬帆,起航.

reply all(3)
王萌

I also have the same question. One page has implemented parameter passing ***.PHP?id=XXX. How can another page obtain this parameter? In other words, how to write after "SELECT * FROM database name where field name="?

  • reply Successfully solved: $colname_Recordset1 = "1"; if (isset($_GET['sno'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['sno'] : addslashes($_GET['sno']); } $query_Recordset1 = sprintf("SELECT * FROM pharmacy WHERE sno = %s", $colname_Recordset1); Mainly ($_GET['sno']), where sno is the parameter passed by the URL.
    王萌 author 2020-07-24 20:32:44
75kg

This is what js should do

扬帆,起航.

There are two pages

1.html contains this content

<a href="test.php">Click to test</a>

It is not obtained from a single page, but obtained by clicking to jump to the php page

  • reply After js is obtained, it is added to the URL of the href attribute as a query string and passed to other pages.
    75kg author 2020-07-12 09:37:34
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!