Hi

I have the following code in Delphi:
procedure TFormConfirmAllocation.CreateTxt;
var TxFile : TextFile;
     Buffer : string;
     x : integer;
begin

    AssignFile(TxFile,'\SkyTrac.sky');


    Rewrite(TxFile);

    with FormConfirmAllocation.Query1  do begin
    open;
    while not Eof do begin
        for x :=  0 to fields.Count - 1 do begin
        Buffer := Fields[x].AsString;
        Writeln(TxFile, Buffer);
        end;
    next;
    end;
    end;//with
CloseFile(TxFile);
    end;

Now I want to create the same sort of thing in Php, could someone please help!
Thanks
Wade
[EMAIL PROTECTED]

 

Reply via email to