.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Thread Tools
PHP pages with f*() file access
Brainz's Avatar
Status: Offline
Posts: 270
Join Date: Jun 2004
Location: Nottingham, UK
Default PHP pages with f*() file access - 26-07-2007

I've got a php page which essentially parses a plain-text todo and appointment list. However, you can specify the order that the appointments are shown in, or that some appointments don't display on the main page, only in a popup window, independantly of the order in the text.
What I'm wondering is whether it would be more efficient to load the entire list into an array before sorting it, and then pass the array to the popup, or to read (and parse) the file twice: once in the main page, ignoring the "do not display" items, and then again in the popup?
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com