[SOLVED] how to change the hyperlink to a button.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sheau Wei
    New Member
    • Sep 2006
    • 34

    [SOLVED] how to change the hyperlink to a button.

    this is the delete hyperlink that i had create. But i want to change it to a delete button. how can i make it?

    <a href='delete_ac .php?id={$rows['ID']}'>delete</a>
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    [PHP]echo "<form method='POST' action='delete_ ac.php?id={$row s['ID']}'>";
    echo " <input type="submit" name="submit" value="delete" />";
    echo "</form>";[/PHP]

    Ronald :cool:

    Comment

    • Sheau Wei
      New Member
      • Sep 2006
      • 34

      #3
      Originally posted by ronverdonk
      [PHP]echo "<form method='POST' action='delete_ ac.php?id={$row s['ID']}'>";
      echo " <input type="submit" name="submit" value="delete" />";
      echo "</form>";[/PHP]

      Ronald :cool:
      thanks your help. I know what should i do from the answer you give me . Thank you very much.

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        You are welcome. Glad to be of help.

        Ronald :cool:

        Comment

        Working...