form help


Posted on 16th Feb 2014 07:03 pm by admin

this doesn't work. i want the form action to go the location.href of the submit button chosen.. how do i do this?

Code: <?php
echo "<form enctype='multipart/form-data' action='location.href' method='post' name='changer'>
Did you know?Explore Trending and Topic pages for more stories like this.

<table width='376' height='76' border='0'>
<tr>
<td>
<font color=white font face=Verdana>Subject: </font><input type='text' name='keywords' value=''>
</td>
</tr>
<tr>
<td align='center'><input type='submit' name='Add Webpage' id='Add Webpage' value='Add Webpage' onClick='location.href="stacker.php"'></td>
<td align='center'><input type='submit' name='Add Topice' id='Add Topic' value='Add Topic' onClick='location.href="uinfo.php"'></td>
<td align='center'><input type='submit' name='Add Image' id='Add Image' value='Add Image' onClick='location.href="uimage.php"'></td>
</tr>


</table></form>"; ?>
No comments posted yet

Your Answer:

Login to answer
264 Like 15 Dislike
Previous forums Next forums
Other forums

Inserting 100x and 100y coordinates in mysql table - easy
Is there a way to insert this data into a mysql table named 'map' with the fields: 'x int 3' , 'y in

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

Adding Outlook 2007 items via file upload
I am looking for a way to be able to attach an Outlook item (an email message) in an ASP.NET 3.5 app

Strange HTML Tag?
I recently noticed some odd HTML appear in some of the websites I host. Not all of them are run on a

Rand() help needed
Hi all,

Can someone explain and give me a quick example of how I would go about this?

Help with parsing this html
Hi,
I've got some html i just need a couple of strings from.. argh, it's freaking me out. I've t

Getting rid of quotes when printing data
Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function esca

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash