我目前有一个这样的页面设置:
PHP Variable Declarations
HTML header, then a form to submit GET query
The PHP that processes some stuff based on the GET data
a bit of JavaScript that makes a pretty graph from the retrieved, processed data
我想要做的是在第一次加载页面时只显示表单,然后当输入查询时,让图形显示在页面的底部。它使用的是flot库,JS目前看起来是这样的:
<script