dskm94301 2013-06-27 17:12
浏览 25

如何在提交表单条件后使用lightbox从SQL Server显示PHP查询结果

So I'm redesigning the intranet for the library of a county-based historical society, and they have ridiculous amounts of data. Since the tables returning the data are so huge, every method I've tried to use so far breaks the layout and looks ugly. I'm hoping that some kind of lightbox feature could help display tabular data results.

Basically I want this form:

<form action="proc_church.php" method=post name=query>
    <br>
    <span style="color: #fff;">Input a <b>surname </b>&nbsp;</span>
    <select name="sname">
      <option selected value="Last_Name">Last Name</option>
      <option value="Maiden_Name">Maiden Name</option>
    </select>
    &nbsp;
    <input type=text name=surname size=30>
    <br>
    <br>
    <span style="color: #fff;">Input a first name&nbsp;</span>
    <input type=text name=firstname size=30>
    <br>
    <br>
    <span style="color: #fff;">Sort By&nbsp;</span>
    <select name=pick>
      <option value="First_Name">First Name</option>
      <option value="Last_Name, First_Name">Last Name, then first name</option>
      <option value="[Church References].Church_Reference">Church</option>
      <option value="Page">Page</option>
      <option value="Exact_or_Range_Start_Date">Start Date</option>
      <option value="Range_End_Date">End Date</option>
    </select>
    <input type=hidden name=orders>
    <input type=button value="Submit Query" onClick="process()" id=sub>
  </form>

to splash to a lightbox pop-up of the proc_church.php page seen in the code.

If anyone could tell me which lightbox plugin would do this easiest (and how to execute it) or if it's even possible I'd really appreciate it. If it's not possible I'd love a few suggestions on how to accomplish it, like maybe a js pop-up window. Thanks.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥30 这是哪个作者做的宝宝起名网站
    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题
    • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
    • ¥15 YoloV5 第三方库的版本对照问题
    • ¥15 请完成下列相关问题!