Hi

 

you can do this using before submit. either using php ajax or either
javascript.

 

when you hit the submit button you can write a simple javascript or Ajax
reload to get the form values then 

you can do

 

location.href="particular url after your thought"

 

Thanks,

Muthukumar Selvarasu,

Project Manager (Web Development),

Webmaster Ltd.

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Gordon Stewart
Sent: Tuesday, December 11, 2007 10:14 PM
To: [email protected]
Subject: [php-list] Hi, PHP FORM sending ?

 

Hi,

I'm not sure whether to send this to a PHP forum, or an HTML forum -
(I created all the scripts - in PHP)...

I've got a script (already created by me), that parses the values
from the URL..

EG :- http://www.domain. <http://www.domain.com/value1/value2/value3/>
com/value1/value2/value3/

I want to create an HTML FORM which gathers small bits of info - For a
subsection of my site..

EG :-

NAME1 (enter name1 here)
NAME2 (enter name2 here)
(submit)...

What I want, is the URL to go to :-

http://www.domain. <http://www.domain.com/option5/NAME1/NAME2/>
com/option5/NAME1/NAME2/

However, the FORM - submits the information ok - However it goes to

http://www.domain. <http://www.domain.com/option5/?name1=>
com/option5/?name1=(value1)&Name2=value2

(which looks bad....)

If I manually type http://www.domain.
<http://www.domain.com/option5/value1/value2> com/option5/value1/value2 - It
works perfectly fine....

I can probably work around the issue - Slightly altering the PHP to cope...

However, is there a way in the system, to submit a form, & put the URL
in the correct format ?

(none that i know of)

-- 
G
NZ community groups - [EMAIL PROTECTED] <mailto:community%40kwister.com>
com
Freecycle Auckland :-
http://groups. <http://groups.yahoo.com/group/AucklandFreecycle/>
yahoo.com/group/AucklandFreecycle/

 



[Non-text portions of this message have been removed]

Reply via email to