RE:Re: Problems processing a form; please help!
| From: | Kraa de Simon | Date: | Fri, 20 Oct 2000 12:22:37 +0000 |
| Subject: | RE:Re: Problems processing a form; please help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21365@lists.php.net to get a copy of this message | ||
Hi,
I already tried that, I named it test and tested on: if $test { include ... }.
Didn't work, so because of the url...
http://localhost/ansilion/default.php?polls_sub_id=2&polls_top_id=1&x=26&y=5
...you keep on voting when you hit reload...
Your idea will work if I can test on "if submit button (image in my case) pushed
then process else !process".
(Changed it to action="default.php"; makes no difference)
Simon.
Hit Media:
>
>>I'm using <form name="polls" action="default.php?"
>>method="get"> where
>>default.php is the page where you came from (can enter a vote).
>
>
>Why do you have a "?" after "default.php"?
>I've never seen that.
>Try it with no "?".
>
>
>
>> Maybe this is because I use an image as a "submit" button?!?!
>> <input type="image" name="test"
>> src="images/polls_submit.gif" width="57"
>> height="14" border="0" alt=" Submit ">
>> So I can't really use the if ($submit) { } construction you suggested?!?!
>
>I've never tried images as submit.
>Change its name to "submit" instead of "test" and see if my original idea
>works then?
>
>
>
>
Met vriendelijke groet / With kind regards,
Simon de Kraa
ICL Logistic Systems
Simon.de.Kraa@icl.nl
---
Microsoft Windows 2000 Professional SP 1, Progress 9.1b, Roundtable 9.1a
SCO UnixWare 7.1.1, Progress 9.1a11