Re: herf link to php page
- From: BigZero <vijaymajagaonkar@xxxxxxxxx>
- Date: Tue, 29 Apr 2008 21:49:41 -0700 (PDT)
Hey thanks for reply here my code that i told u i m using a table and
radio button that's working for me
<HTML>
<HEAD>
<TITLE> Search Key </TITLE>
</HEAD>
<BODY>
<?
$key = $_POST["searchkey"];
//echo $key;
foreach ($_POST as $field => $value)
{
echo "$field = $value<br>";
break;
}
$con = odbc_connect('MSAccessDriver','','');
$sql = "select Sys_IP_Add from System_Master";
$cur= odbc_exec($con,$sql);
?>
<form method="post" action="show.php">
<table>
<?
while(odbc_fetch_row($cur))
{
//$name= odbc_result( $cur, 2 );
//$ip = odbc_result( $cur, 1 );
$ip = odbc_result( $cur,1);
echo "<br>";
?>
<tr><td>
<input type="radio" group="ipadd" name = "addr" value=<?$ip?><? echo
$ip; ?></input>
<td>
<? echo $ip; ?>
</tr>
<?
}
?>
</table>
<br>
<input type ="submit" value="Show" name="Show">
</BODY>
</HTML>
it working fine but all i need is just one click and show.php that get
ip which selected and show the detail that is DB with this ip
Thanks
VM
.
- References:
- herf link to php page
- From: BigZero
- Re: herf link to php page
- From: ZeldorBlat
- herf link to php page
- Prev by Date: IS a PHP programmer typing <?php ?> most of the time when he is at work?
- Next by Date: Re: Using Apache's mod_rewrite to hide scripts extension
- Previous by thread: Re: herf link to php page
- Next by thread: south north and world indian girls
- Index(es):