Dear all,
Need ur help again!!!!!!!!
I have 2 PHP pages page1.php and page2.php
Page2 is like a search screen,where the records from the database are listed in 3 columns in <table> tag.
column 4 of each row is a link to page1.
On the click of this link,I need to set the values in the corresponding row on to the textfields on page1.
Thx in advance.........
Shantanu
Passing values on Links
Moderator: General Moderators
if understood correct, what you need is to pass into page1 some parameters, that should know values of textfields. And than using isset()
That is approximate code.
Code: Select all
page1
<a href="page1.htm?textfield1='true'"></a>
page2
<input name="textfield1"
<? if isset($_GETї'textfield1']) echo "value="{$_GETї'textfield1']}""?>
>