PHP/HTML Question
I hope this is not a dumb question but I am trying to process data to an if statement from two links. I can do this easily with two form since forms can have submit buttons with names such as:
<form action="process.php" method="post"> Enter your name: <input type="text" name="name" size="20"><br />
<input type="submit" name="edit" value="Edit">
<input type="submit" name="delete" value="Delete">
</form>
The if statement in process.php can be if edit do this else do this.
What I want to do is the same thing but from a href links. How would I set up an if statement since a tags can’t have names in HTML5?
Thanks for your help.
E.g: