pass data along with link

Codes here !

Moderators: egami, macek, gesf

Post Reply
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="> link</a>

but what about $_POST link?


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'>

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>

Post Reply