除了RESIN，又发现一个好东西rn将PHP编译运行，并且带了IDErn以下是介绍：rnRoadsend PHP Compiler is a free, open source native compiler for the PHP language. It compiles PHP source code to stand alone, native binaries which do not require an interpreter. Roadsend Compiler can build online web applications with Fast/CGI, offline web applications with an embedded web server (MicroServer), desktop GUI applications with PHP-GTK, and console applications. It is available on Linux, Windows, Mac OS X, and FreeBSD. rnBuild Stand Alone Applications From Standard PHP4 Source CodernRoadsend compiles your PHP project to a single, native binary which does not require an interpreter. Roadsend builds online web applications with FastCGI, offline web applications with an embedded web server (MicroServer), desktop GUI applications with PHP-GTK, and more! Supports Windows, Unix and FreeBSD. rnrnRoadsend Studio IDE for WindowsrnRoadsend Studio helps you manage, build, debug and deploy your PHP projects with the Roadsend Compiler. It automatically deploys a finished project to a directory (included supporting libraries), ready for packaging. It examines your code as you type, has early syntax error recognition, auto method and property completion and auto parameter help. Full syntax highlighting editor, project source file manager, step debugger and compiling and interpreting of projects (including GUI apps) from within the IDE. rnrnCompile Web ApplicationsrnCompile web applications for both on- and offline use. Online web applications use the standard FastCGI interface for communicating with industry standard web servers such as Apache and Microsoft IIS. Offline web applications use the MicroServer embedded web server, which allows you to run an web application as a stand alone program. rnrnCompile Desktop GUI ApplicationsrnThe Roadsend Compiler uses the GTK library for cross platform operability. It supports the Glade user interface builder and is compatible with the PHP-GTK 1 API. rnrnDebuggerrnRoadsend Compiler includes a step debugger which allows you to step line by line through your source. You have the ability to set breakpoints by source file or line number, pause a running program, inspect local variables and inspect the call stack.
好心的朋友给了我一段代码~~~求出了卖出总和~~ 和库存总和~~ 及还剩余的和~~ 代码如下~~rn[color=#FF0000]<% rn rn set rs2=conn.execute("select sum(mcshuliang) as sb from yao where yaomingzi = '苹果'")rn rn response.write rs2("sb")rn rnrn set rs=conn.execute("select sum(zongshu) as nh from yao where yaomingzi = '苹果'")rn rn response.write rs("nh")rn response.write cdbl(rs("nh"))-cdbl(rs2("sb"))rn %>[/color]rn可苹果在这里是死的~~rn]我如果想要香蕉呢~~ 橘子 菠萝===~~~~ rn我想要把苹果作为变量来处理~~~rn在上面定义变量之后在进行给值~~~rn不知道怎么写了~~~ 呵呵~~~~