|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
This is not too hard i think, please help
Greetings everyone.
I got this system, it puts in a text file information i specify with a form, this is the URI: http://tampico.org.mx/~vhoc/cat/altas.php This is the code I wrote: PHP Code:
The result in the base.txt file is: "nombre","apaterno","amaterno" But i want to add an ID number so i can get this: "1","nombre","apaterno","amaterno" "2","foo","bar","com" and so on.. I need your help so the script puts the ID numbers by itself when a new line is added. How should I do it? I'm trying with this code PHP Code:
But I don't get what I want. I would appreciatte your help, and excuseme if my english is't good. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > This is not too hard i think, please help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|