Jump to content

Editing a post in Two <form> and <border> questions.


suttercain

Recommended Posts

Hello everyone,

 

I have two questions. One deals with the <form> tag and the other the <border> tag for tables.

 

Question 1:

How can I have two input types that go to two different place in a single form?

 

<form action="final_news.php" method="post">
<input type="submit" value="submit" name="submit">
<input type="submit" value="go back" name="go_back">
</form>

 

I would like the Submit button to go onto final_news.php, which it does, but I would like the Go Back button to go to a different URL. Is this possible?

 

 

Question 2:

Internet Explorer and Firefox display table borders in two very different ways when running this code

 

<table width="986" border="10" cellspacing="0" cellpadding="0" bordercolor="#000066"">

 

Internet Explorer displays it as a solid color, which is what I want, while Firefox displays it more like an embossed color with 2 different shades. Are there any tags within the <table border> tage I can use to make Firefox display it like Explorer? I tried <border-style="solid> but it didn't work.

 

Thank you in advance for your assistance and suggestions.

 

 

-SC

Link to comment
https://forums.phpfreaks.com/topic/45965-editing-a-post-in-two-and-questions/
Share on other sites

Can you not just use 2 form elements to do this?

 

<form action="final_news.php" method="post">

<input type="submit" value="submit" name="submit">

</form>

<form action="go_back.php" method="post">

<input type="submit" value="go back" name="go_back">

</form>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.