摘要:
坑死爹了。我想实现一下这种sql: select * from xxx where (a = 1 and b = 2) or ( a = 2 and b = 1);翻遍了thinkphp的文档也没有说明怎么去实现。自己琢磨出来的。。 $where['_complex'] = array( ... 阅读全文
摘要:
向数组中插入一个数,保持数组内数字从小到大排列:#include int main(){ int arr[100] = {2,5,8,15,40}; int num = 0 , i = 0 , j=0 , count = 5; while(scanf("%d",&num)){ for (i = 0... 阅读全文
摘要:
执行yum操作,报错:YumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. $releasever is not a valid release or hasnt been released yet/removin... 阅读全文
摘要:
今天晚上打开ST3的时候,总是会报错:plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted 之前也有过这种情况,不过... 阅读全文