There are many links of the form
<a href="nameOfFile.php">name1</a> <a href="nameOfFile.php">name2</a> <a href="nameOfFile.php">name3</a> <a href="nameOfFile.php">name4</a> ..... These links are a table column and lead to the same file, which is a special form. I need in the file to which they lead (nameofFile.php) to get the name of the link (say name1), which I clicked on during the transition, in order to display the data on this name (name1). Tell me, please, how to implement it. I'm not familiar with js
The output of these links:
for ($i = 0; $i < $fields=count($row); $i++) { if($i==0){ echo '<TD><a href="nameOfFile.php">' . $row[$i] . '</a></TD>'; } else{ echo '<TD>' . $row[$i] . '</TD>'; } }
nameOfFile.php?name=name1- Mike