search

Home  >  Q&A  >  body text

What is the use of the id at the connection here?

echo '<td><a href="delete.php?id=' . $row['id'] . '">Delete user</a></td>';

金华郭德纲金华郭德纲2191 days ago1284

reply all(3)I'll reply

  • jjJ

    jjJ2019-02-09 22:06:00

    The id of the user. If you want to delete the user, you need this id to find the corresponding data in the database for operation

    reply
    0
  • 金华郭德纲

    Thanks! At the same time, I would like to ask: Is this using the get method to pass parameters? Also, what should I do if I want to pass two parameters at the same time?

    金华郭德纲 · 2019-02-09 22:25:11
  • Cancelreply