Hi ,

My requirement is user entered data needs to pass in to url

Ex : user entered : Munna_90

The entered value has to be pass in to link

http://details.orgnaistion/emp?function=directAccess&action=displayname="Munna_90" (user entered details)

After clicked on submit button it has to redirect me to the full deials page of Munna_90.

Please help me out.

Thanks,

Munna

Recommended Answers

All 4 Replies

What code do you have already made?
What is your form's code?

What have you tried?

Try this code

<body>
<form id="form1" name="form1" method="post" action="display.php">
  <table width="200" border="1">
    <tr>
      <td>Name</td>
      <td><input name="t1" type="text" id="t1" /></td>
    </tr>
    <tr>
      <td colspan="2"><div align="center">
        <input type="submit" name="Submit" value="Submit" />
      </div></td>
    </tr>
  </table>
</form>
</body>

display.php

<?php
$name=$_REQUEST['t1'];
echo $name;
?>

The above one is my code after clicked on clickme am not getting the proper page -- am getting the "Print($caseid);/ is not found

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.