Here’s the source code for my SQL web service:
on users() { local (result = sys.unixShellCommand(‘/sw/bin/mysql -e”select * from nuke_session;” nuke’)); result = string.replaceall(result,”\n”,”<tr><td>”); result = string.replaceall(result,”\t”,”<td>”); return <table border=1><tr><td>” + result + “</table>”; }