ChinaUnix.net
相关文章推荐:

php try

不久前做了个调查, 看起来php5特征没多少人在用... 又刚刚想做(现在决定用wiki, 或改进)笔记的程序, 所以试了下用php5特征来分页, 觉得比较有意思, 所以放出来给大家看一下... 首先咱们看怎么个有意思法: [code] php require_once 'includes\CategoryDataSet.cls.php'; $data = array( array('id'=>1, 'name'=>'c'), array('id'=>2, 'name'=>'c++'), array('id'=>3, 'name'=>'php'), array('id'=>4, 'na...

by Yarco - PHP - 2006-03-17 00:25:28 阅读(954) 回复(0)

相关讨论

try-catch 语句 为了进一步处理异常,我们需要使用try-catch语句—包括try语句和至少一个的catch语句。任何调用 可能抛出异常的方法的代码都应该使用try语句。Catch语句用来处理可能抛出的异常。以下显示了我们处理getCommandObject()抛出的异常的方法: index_php5.php 后半段 // php 5 try { $mgr = new CommandManager(); $cmd = $mgr->getCommandObject('realcommand'); $cmd->execute(); } catch (Exceptio...

by 剑心通明 - php文档中心 - 2008-05-27 21:28:41 阅读(985) 回复(0)

linux c 培训那里最好? 各位知道吗? [ 本帖最后由 Lonny 于 2006-3-23 15:17 编辑 ]

by Lonny - 系统管理 - 2006-03-23 15:14:39 阅读(627) 回复(0)

select * from table_name where 1=2

by zx0228 - Sybase - 2004-06-14 13:38:56 阅读(1229) 回复(4)

[code]/* * Generic parts * Linux ethernet bridge * * Authors: * Lennert Buytenhek ; * * $Id: br.c,v 1.45 2000/10/22 18:26:07 davem Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) an...

by un_xxx - Linux论坛 - 2004-04-16 09:56:02 阅读(446) 回复(0)

如果在脚本里作不太好。我不喜欢。 我习惯把它放在定时里做 crontab 这个命令你可以试试 用法是这样的 你的脚本名字 expora.sh [code] 写一个文件ttt 内容 * * 01 * * expora.sh 然后执行crontab ttt 就可以了 在不同的系统有的用cron 最好man crontab的用法 记不太清楚了 [/code]

by - Shell - 2003-12-03 10:29:52 阅读(997) 回复(0)

try

by linzdl - Linux论坛 - 2003-08-16 12:40:26 阅读(366) 回复(0)

edit /etc/default/passwd

by mirnshi - Solaris - 2003-07-01 13:26:41 阅读(615) 回复(0)

try

by netabc - 网络技术 - 2003-05-25 09:23:16 阅读(877) 回复(1)