₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,993 members, 8,419,845 topics. Date: Thursday, 04 June 2026 at 02:10 AM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingWho Knows Php Code To Add A Command To A Url (717 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 FormIs There Anyone In Umuhia That Knows Php And Jquerry Pls Needed ASAPAnybody Living Im Ibadan Who Knows PHP Codeigniter Very Well?234

Discover What People Are Saying About Your InterestsHelp Setup A Development Server In DreamweaverHelp Pls:python Setup