post to self


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

Trying to get my form to submit to itself. However I am also trying to use an image for my submit button, when I set the type='image' it will not submit to itself. Can someone help me figure out why?

my button code:
<input type='submit' name='submit' value='submit' src='img/button_add.gif' width='64' height='25' class='outline' onmouseover="javascript:this.src='img/button_add2.gif';" onmouseout="javascript:this.src='img/button_add.gif';">
Did you know?Explore Trending and Topic pages for more stories like this.

my if:

if( isset($_POST['submit']))


form:
Code: <form method='post' action="<?php echo $_SERVER["PHP_SELF"]; ?>" name='mailcheck' id='form_id'>

Everything works well if I don't post to self so I can always do that
No comments posted yet

Your Answer:

Login to answer
323 Like 22 Dislike
Previous forums Next forums
Other forums

Lack of simpleXML Documentation
What is up with this.

Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

Windows Authentication
I have a website which is windows authenticated.
now i want something more on this application.<

PHP, Arrays & A Lot Of Confusion
I've been doing basic PHP work on sites for a few years now, but I've never been tempted to learn ho

GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.

I have a

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

How to generate a text file using php...?
Hi,
Can anyone give me code to generate a text file using php


Thanks in advance

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

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