http://www.w3schools.com/t
<a href='edit_entry.php?Edit'
Try that, does not require user to have JavaScript enabled so more user friendly
Main Topics
Browse All TopicsI writing my own blog system in PHP. On the "backside", each blog entry has 3 buttons connected to it. Currently, the markup looks like this:
<div class="buttons">
<input type="button" value="Edit"/>
<input type="button" value="Delete" name="delete"/>
<input type="button" value="Hide" name="hide"/>
</div>
I already written PHP scripts for these functions, and I previously called them from <a href=""> links, but I thought it would be nice to have buttons there instead. So I wonder: how do I connect my scripts to the buttons? This works
<form action="edit_entry_form.ph
but it's a lot of code for one button, and I want all buttons on one line (while <form> elements are typically stacked vertically). I wish I could simply write something like:
<a href="edit_entry.php"><inp
The last works in Firefox and Opera but not IE. Is there a standard way of doing this, that is also standard HTML?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
http://www.w3schools.com/t
<a href='edit_entry.php?Edit'
Try that, does not require user to have JavaScript enabled so more user friendly
Business Accounts
Answer for Membership
by: mensuckPosted on 2005-09-25 at 14:37:45ID: 14955309
Just use the onClick=location.href=
edit_entry _form.php? id=" . $id . "';\"> <input type='button' value='Delete Entry' onClick=\"location.href='/ delete_ent ry_form.ph p?id=" . $id . "';\"> <input type='button' value='Hide Entry' onClick=\"location.href='/ hide_entry _form.php? id=" . $id . "';\">":
<form action=''>
<?
echo "<input type='button' value='Edit Entry' onClick=\"location.href='/
?>
</form>
ms!