Very basic question? Help needed :-(=

From: Date: Wed, 25 Oct 2000 07:44:10 +0000
Subject: Very basic question? Help needed :-(=
Groups: php.dev php.template 
Request: Send a blank email to php-template+get-526@lists.php.net to get a copy of this message
Hello,

I have for most of you very small problem.
Let say I have a file callad "rec". The entries in it  are looking like
this:
X  : Y : Z
-------
11;aa;bb
22;cc;dd
33;ee;ff

I know how to kreate file like this, but
Now I'd like to find the entry let say with $X==22.
and
1. ------I'd like to get the $Y and $Z.
2.------Let say I'd like to change the $Z
3.------When I finish, how can I erase the file

THX

Regards
Janez Vrenjak

--

                          \\\___///
                         \\  - -  //
                          (  @ @  )
+-----------------------oOOo-(_)-oOOo---------------------------+
|                                                               |
|                     WWW.KUD-KONTRABANT.SI                     |
|                         Janez Vrenjak                         |
|                 mailto:janez@kud-kontrabant.si       
        |
|                    tel.: +386-(0)41-406 089                   |
|                                                               |
+------------------------------------Oooo-----------------------+
                      oooO          (    )
                     (    )          )  /
                      \  (           (_/
                       \_)
The world is not octal despite DEC.





Thread (1 message)

  • Unknown Sender
« previous php.template (#526) next »