English 中文(简体)
在2个卷宗中发现差异。 php
原标题:find difference in 2 csv files. php
  • 时间:2010-07-08 12:10:16
  •  标签:
  • php

我的英语不好。

I must to check 2 csv files, if strings with one id is different, must write to file. If there is no string with id from 1st file in second file, must write this to file too.

它工作,但有一个因素(id=47),即麻烦。 在档案中,只有一纸空文。

download script you can from here http://sil-design.ru/uploads/script.zip

问题回答

如果您填写了<代码>echo$str1[0]。 - $str2[0]。 ;。 您将看到这47条内容从未比较过。 另外,我也不清楚<代码>t:$f2 = fopen(fileurl, rt );

如果您在记本上开张,把 cur子放在47;XL<>/code>之后,并搁置删除其之后的任何东西。 然后再次尝试你的文字,它应当发挥作用。 看来,背书是以一种令人厌恶的方式创建的,我猜测的是,在档案甚至告终之前,公共卫生和社会福利部正在成为欧洲空间法研究所。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...