当我们点击使用Id时,我如何能够轻松地记录相关人员的Frm数据库 [英] How I Can Disply Recored Frm Database Of Respective Person When We Click By Using Id

查看:58
本文介绍了当我们点击使用Id时,我如何能够轻松地记录相关人员的Frm数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们点击使用id时,我如何能够显示相应人的frm数据库



以下代码只有当我们点击该名称显示时才显示名称bt该人在同一页面上显示的信息...这些如何使用id ...?





how i can disply recored frm database of respective person when we click by using id

following code are disply name only bt when we click on that name dispaly whole information of that person disply on same page ...how done these using id...?


<?php

 $res=mysql_query("SELECT name,exp FROM app LEFT JOIN jobs ON(jobs.id=app.jid) ORDER BY app.id DESC");



        $i=1;

        if(!$res)

        die('invaild query:'.mysql_error());

        while($row1=mysql_fetch_array($res))





  {







  ?>

        <div class="HyperGridWrapper"  style=" overflow: hidden; height: 39px; width: 200px;">
<input type="checkbox" id="ctl00_Split_LP_ctl01_grdContactsCheckAll" name="ctl00$Split$LP$ctl01$grdContactsCheckAll">
  <?php



  $prop_id = $row1['name'];



  echo "<a href=\"applications.php?prop_id=".$prop_id."\">";
  echo $row1['name']?>,
  Exp:<?php echo$row1['exp']?>
  yr<br>  </div></a>

  <?php

  }



mysql_close($con);

?>
</div>

推荐答案

res = mysql_query( SELECT name,exp FROM app LEFT JOIN jobs ON(jobs.id = app.jid) ORDER BY app.id DESC) ;



res=mysql_query("SELECT name,exp FROM app LEFT JOIN jobs ON(jobs.id=app.jid) ORDER BY app.id DESC");


i = 1;

if( !
i=1; if(!


res)

die('invaild < span class =code-summarycomment> query:'。mysql_error());

while(
res) die('invaild query:'.mysql_error()); while(


这篇关于当我们点击使用Id时,我如何能够轻松地记录相关人员的Frm数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆