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'>

<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

Question handling xml data
Hello,

I have sucessfull followed this tutorial
http://www.phpfreaks.com/tutorial/handlin

SAP BCS. BPS
Hi all,

I am seeking reading note on the following in BW

BCS, BPS
ADVANCE

iMatch stored value with the current value in a loop
Hello,

I have a MySQL db were I store articles in.

I have a form to fill these article

The IE or FF detector
Hello Friends,

Problem of today ( we seek for php help ) as following ,

we know all th

HTML form problem
Ive made a form to that i want to send to my email via PHP. but when it send only the name's etc sen

Sessions work for me and not others?
I'm having a bit of bad luck with sessions. In the past they have worked fine for me, but this time

big pagination problem in php
<?php

$connect = mysql_connect("localhost", "root", "")

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

login to other site by sending post variables
hey,

here is my problem: my school gave me a mail account for school-stuff use. they mail us

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