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>"; ?>
Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.How can i get a drop down list to pull these numbers from the table?So if i then added more numbers to the table then
Customizing message/behavior
Hi,I'm using the ASP.NET membership/authorization controls in my application. Some parts of my application are reserved for users who are in certain roles i.e. editor, writer, etc. I control this with
multiple recipients + dbuser mail recall
Hello,I am building a php login script.When the user registers the script will send him a confimation email using this codemail($usr_email, "Login Details", $message, "From:
Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBanners() on a non-object" error message. Code: var $_model; function display
Search with relational database
Hey,I have quite a complicated (for me anyway ) relational database for an apartments system I am developing.Keith (kickstart) was very helpful assisting me in creating the relationships and here is
browse folder only
hi,is there a way i can browse or get the directory or folder only and not the file?i just want to browse the directory and get the files from it.
Problem with array max size.
Hi to everyone,
Time-based image rotation script
I'm trying to write a PHP script that rotates an image based on what time of day it is. I want the script to show day.jpg from 6 AM to 6 PM, and to show night.jpg from 6 PM to 6 AM.I also need the
Displaying image pathname instead of image
HelloIm trying to upload and then display images from a mysql database - Its only basic and i only need one pic per user on the database hence why using mysqlI really need osme help as ive been going
URL Rewrite issue
Im created a series of Rewrites and on page checks to make sure the correct url is being called. But now that i am buying in traffic through Adwords the gclid parameter is being dropped and im unable