[PHP] Pagina weergeven voordat deze compleet is

Pagina: 1
Acties:

  • Rashann
  • Registratie: Maart 2000
  • Laatst online: 24-08 07:20

Rashann

Zoek de hond...

Topicstarter
Hoe doe ik dat?

Ik heb nu namelijk een pagina (geen frames, dat wil ik ook niet) die via PHP een database moet vullen. Echter, dit kan enige tijd duren. Nu wil ik dus dat de pagina voordat de PHP begint wordt weergegeven zodat de gebruiker weet dat de pagina nog bezig is.

Helemaal zou het mooi zijn als ik regel voor regel de pagina kon vullen zodat te zien is hoeveel data er al naar de DB is geschreven.

Kan iemand mij uitleggen hoe dit moet? (PS: Als deze toch bij P&W hoort, move hem dan maar :))

If nothing is written below, I was the last to reply...


  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

hoort idd in P&W :)

Je kunt je output naar de browser "flushen". volgens mij fflush ( STDOUT ); maar dat zou ik (of jij :P) ff moeten checken...

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


  • McVirusS
  • Registratie: Januari 2000
  • Laatst online: 15-09 16:29
Moved:
[forum=13] >> [forum=14]

Verwijderd

Misschien heb je wat aan de php functie flush() :)

  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

Kijk anders ook even naar de Output Control functies
edit:
__________________________________________
Cheatah> that's the one idd :)

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


  • Rashann
  • Registratie: Maart 2000
  • Laatst online: 24-08 07:20

Rashann

Zoek de hond...

Topicstarter
OK, bedankt... dat werkt inderdaad :)

If nothing is written below, I was the last to reply...

Pagina: 1