pass data along with link

Codes here !

Moderators: macek, egami, gesf

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

pass data along with link

Postby DigitalRice » 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: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » 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>

Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 4 guests