₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,203 members, 8,510,640 topics. Date: Friday, 30 October 2026 at 06:33 PM

Toggle theme

Who Knows Php Code To Add A Command To A Url - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Who Knows Php Code To Add A Command To A Url (815 Views)

1 Reply (Go Down)

Who Knows Php Code To Add A Command To A Url by Coinmamax(op): 2:38pm On Dec 28, 2022
For example, I want email to display at the end of the link.

After the user submit email and password, then click Submit... I want to be redirected to another page like https://mywebsite.com/#(email address).

I tried using action="mail.php/#$email"

It didn't work too.

Is there any recommendation?
Re: Who Knows Php Code To Add A Command To A Url by Weezyclan(m): 2:56pm On Dec 28, 2022
Coinmamax:
For example, I want email to display at the end of the link.

After the user submit email and password, then click Submit... I want to be redirected to another page like https://mywebsite.com/#(email address).

I tried using action="mail.php/#$email"

It didn't work too.

Is there any recommendation?
nairaland wont allow me post code, try this.

Re: Who Knows Php Code To Add A Command To A Url by Coinmamax(op): 3:39pm On Dec 28, 2022
Weezyclan:
nairaland wont allow me post code, try this.
Look at the code here

Is there anyway to adjust it

Re: Who Knows Php Code To Add A Command To A Url by losprince(m): 3:56pm On Dec 28, 2022
Your form doesn't have any action attribute. if mail.php is handling the form submission, then the form tag should have something like action="mail.php"
Re: Who Knows Php Code To Add A Command To A Url by Coinmamax(op): 4:15pm On Dec 28, 2022
losprince:
Your form doesn't have any action attribute. if mail.php is handling the form submission, then the form tag should have something like action="mail.php"
yes but the url strings is my target
Re: Who Knows Php Code To Add A Command To A Url by losprince(m): 4:28pm On Dec 28, 2022
Coinmamax:
yes but the url strings is my target
In your form just use subscribeform.php as the action no need for the extras
Re: Who Knows Php Code To Add A Command To A Url by Weezyclan(m): 5:25pm On Dec 28, 2022
Coinmamax:
Look at the code here

Is there anyway to adjust it
try this

Re: Who Knows Php Code To Add A Command To A Url by tollyboy5(m): 8:19pm On Dec 28, 2022
Coinmamax:
Look at the code here

Is there anyway to adjust it
start using vscode. grin

dont be like me that used notepad++ till i couldnt do some advance stuff on it nomore before i moved to vscode.
1 Reply

I Need Php Code To Open Email Domain After Client Submit Their Form • Is There Anyone In Umuhia That Knows Php And Jquerry Pls Needed ASAP • Anybody Living Im Ibadan Who Knows PHP Codeigniter Very Well? • 2 • 3 • 4

Advice Needed • Defect Management Tools In Software Testing • Get And Seamlessly Integrate With Our Jamb & waec Exam Practice API Portal