View Single Post
Old 10-28-2021, 03:44 PM  
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by Publisher Bucks View Post
It was a button to link to a specific URL in the past.

Onclick wont work for this, I need to be able to change a submit button to a clickable link (the link from the previous page loads the form, but i want to bypass the form but still carry the data through to the 3rd page).
Would something like this work?:

<form action="page3.php" method="post">
Message: <input type="text" name="message">
Name: <input type="text" name="name">
Email address: <input type="text" name="emailad">
<input type="submit">
</form>

page3.php:

<html> <body>
Hello <?php echo $_POST["name"]; ?>, I see that you wrote <?php echo $_POST["message"]; ?><br>
Your email address is <?php echo $_POST["emailad"]; ?>
</body> </html>

This carries data to another page and doesn't need it to be a clickable link
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote