All pastes #621853 Raw Edit

Untitled

public html v1 · immutable
·published 2007-07-16 13:33 UTC
rendered paste body
@calls[]<center><form method="GET">        <p>             Caller num: <input name="src" value="$form:src">        Dialled num: <input name="dst" value="$form:dst">        </p>            <p>             <input type="submit" value="Query">        <input type="reset" value="Reset">        </p>    </form>^if(def $form:src && def $form:dst){        ^connect[$connect_string]{                $sql_table[^table::sql{SELECT * FROM callstats WHERE src='$form:src' AND dst='$form:dst'}]}        ^sql_table[]        }{              pls define "Caller num" and "Dialled num" fields}</center>