🔒 Closed PHP CRUD use textfile as database

Status
Not open for further replies.

Lenardkun

Fanatic
Hello po, Tanong ko lang po kung meron po kayong alam na website link na pwedeng puntahan para malaman kung pano gawin po ito. Hindi ko po kasi alam kung anong tamang keyword yung isesearch ko, ala po akong makita 😢. Sana po matulungan nyo po ako sa activity ko. Maraming salamat po!
 
pwede po yan. kung di naman mabigat yung data, using php, read and write si text file. dapat yung laman ni text file is json format, pwede mo syang imanipulate using javascript and ajax. meron lahat kay w3school and stackoverflow

to view:
index.html(data manipulation)->ajax request-> view.php(echo as json / read text file)->db.txt(json format)->index.html

to edit/save:
index.html(data manipulation)->ajax request-> save.php(write text file)->db.txt(json format)

so basically your keyword should be like PHP write json to text file

#javascript #json #php #ajax
 
pwede po yan. kung di naman mabigat yung data, using php, read and write si text file. dapat yung laman ni text file is json format, pwede mo syang imanipulate using javascript and ajax. meron lahat kay w3school and stackoverflow

to view:
index.html(data manipulation)->ajax request-> view.php(echo as json / read text file)->db.txt(json format)->index.html

to edit/save:
index.html(data manipulation)->ajax request-> save.php(write text file)->db.txt(json format)

so basically your keyword should be like PHP write json to text file

#javascript #json #php #ajax
Php lang po pwede namin gamitin
 
kpg text file ata gagamitin na database is per line ang read mangyayari sa crud
yes po ganun po

yes po ganun po
nagawa ko na po mag add

yes po ganun po


nagawa ko na po mag add
1646742004327.webp


yes po ganun po


nagawa ko na po mag add

yes po ganun po


nagawa ko na po mag add


1646742004327.png
ang problem ko po kung pano sya i output ng naka tables tapos may checkbox para sa multiple deletion po
 

Attachments

  • 1646742019652.webp
    1646742019652.webp
    22.1 KB · Views: 24
dati naggaganyan kame ng kapwa ko developer kesa mag database kame
meron po ba kayong file :< ?

kahit yung sa edit lang po, need po yung course lang yung ma eedit

1646745359349.webp

1646745379105.webp

di ko po malagay sa table yung malaman. Sa paturo po sa may alam :<

Sana po matulungan nyo ako 😓. read and write lang po kasi pinakita samin tapos ala pong materials na binigay para dito
 
Pano ko po kaya mag edit yung pangatlong word. Ganto po kasi yung nasa text file
0001*John*BSIT
0002*Lenard*COE
pano ko po sya ma eedit kunwari po yung 0002 yung pipiliin ko tapos yung COE yung babaguhin ko po
 
1646889525105.webp

1646889567024.webp

1646889603363.webp

Ano po kaya problem neto. Kapag nag add po ako, nagkakaroon ng undefined array key. dahil po ba yung sa pag apend ko ng "\n" ?
 
Status
Not open for further replies.

About this Thread

  • 13
    Replies
  • 1K
    Views
  • 5
    Participants
Last reply from:
PeanutEater

Trending Topics

Online now

Members online
401
Guests online
621
Total visitors
1,022

Forum statistics

Threads
2,274,607
Posts
28,957,165
Members
1,234,348
Latest member
kokey187
Back
Top