在prob_id中传递参数的语法错误nt get prob_id&无法在其他页面上显示名称 [英] there is syntax error in parameter passing in prob_id nt get prob_id & cant display name on other page

查看:58
本文介绍了在prob_id中传递参数的语法错误nt get prob_id&无法在其他页面上显示名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<?php

 $res=mysql_query("SELECT name,exp,app.id 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['app.id'];

  $prop_name=$row1['name'];

  echo "<a href=\"applications.php?prop_id=".$prop_id."\">";
  echo $prop_name?>,

  Exp:<?php echo $row1['exp']?>
  yr<br>  </div></a>

推荐答案

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



res=mysql_query("SELECT name,exp,app.id 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(


这篇关于在prob_id中传递参数的语法错误nt get prob_id&amp;无法在其他页面上显示名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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