pass data along with link

Codes here !

Moderators: egami, macek, gesf

Post Reply
DigitalRice
New php-forum User
New php-forum User
Posts: 29
Joined: Fri Jun 27, 2003 10:05 pm

Sat Jul 05, 2003 8:24 am

Hello can anyone show me how to attach data to a $_POST message?

the $_GET link is like this <a href="http://www.somesite.com?id=4> link</a>

but what about $_POST link?

thanks

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 824
Joined: Sun Jun 02, 2002 3:09 am

Sat Jul 05, 2003 10:00 pm

1 way :: Traditioonal

<form action=tets.php method=post>
<input type=submit name=test value='test'>
</form>

2 way :: JavaScript
<form method=post name=test action="test.php3">
<input type=text name="txt"><br><br>
<a href="javascript:document.test.submit()">submit</a>
</form>

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest