Jump to content

send $_POST and $_GET


ayok

Recommended Posts

Hello.. I've got a question.

 

I'm trying to send both variables $_POST and $_GET, but it's not happened. Is it possible to do that?

 

Here is my try:

<form action='' name="postget' method='post' style='display: none;'>
	<input type='text' name='posttxt' value='myPostVariable' /><a href='?gettxt=myGetVariable' onclick='document.postget.submit();'>Send Double vars</a>

 

So far, it doesn't send any variable. So, is it possible to send get and post in one click? If yes, would anybody tell me how?

 

Thanks in advanced,

ayok

Link to comment
https://forums.phpfreaks.com/topic/182681-send-_post-and-_get/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.