Hello!

Here, data is output from the database, each element is created the inscription "value" with its value. example:

  • Value: 14123
  • Value: 3443445
  • Meaning: abyrvalg

I need to create a link to each element, or a button-to go to page.php with the data of this element using the POST method

(Roughly: I want an individual page for each item)

Is it possible to create a form, or something of type input to each element? Is it possible to do it with bare hands without JS and other things?

 <?php require 'connect.php'; $sql_select = "SELECT * FROM Tablica WHERE znachenie = '12345'"; $result = mysql_query($sql_select); $row = mysql_fetch_assoc($result); do { printf("<p>Значение:</p> " .$row['name'] ); } while($row = mysql_fetch_assoc($result)); ?> <form enctype="multipart/form-data" method="post" name="forma"> <input type="hidden" name="MAX_FILE_SIZE" value="Сюда хочу значение $row[name] " 
  • value="<?php echo $row[name]; ?>" so? - Artem Gorlachev
  • Similarly, it achieved what it outputs to INPUT ALL values ​​from the database. - Rust

0