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条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 孟德尔随机化结果不一致
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)
    • ¥15 keil里为什么main.c定义的函数在it.c调用不了
    • ¥50 切换TabTip键盘的输入法
    • ¥15 可否在不同线程中调用封装数据库操作的类