Hey Rob,
> > I have done very little SUM queries with time, can
> you
> > give me a quick example or any site where i can
> find a
> > few sample queries?
>
> This is basic MySQL so you should RTFM, and
> generally should be asking
> on a MySQL list :)
Hehehe, true...
Dont really like the MySql
On Mon, 2006-05-29 at 08:55, Ryan A wrote:
> > Regardless of how you determine the end of the
> > logged in time, you
> > shouldn't track all the different sums in every
> > entry since that's
> > redundant. You don't even need the extra data since
> > the database will
> > happily allow you to per
Hey Robert,
> > I have to write a kind of logging script which
> will keep records of how long a person used the site
> and its functions, so far this is what I have come
up
> > with:
...
> Presuming you know when they logged out or can
> calculate it:
>
> user_id
> login_time timesta
On Sun, 2006-05-28 at 18:49, Ryan A wrote:
> Hi,
> I have to write a kind of logging script which will
> keep records of how long a person used the site and
> its functions, so far this is what I have come up
> with:
>
> login_username varchar(50)
> as_guide <- You can ignore this,its for a specia
Hi,
I have to write a kind of logging script which will
keep records of how long a person used the site and
its functions, so far this is what I have come up
with:
login_username varchar(50)
as_guide <- You can ignore this,its for a special func
login_time timestamp
logout_time timestamp
this_ses
uot;Edward Vermillion" <[EMAIL PROTECTED]>
To: "A.J. Brown" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September 27, 2005 10:48 AM
Subject: Re: [PHP] best way to save program prefs to a file?
A.J. Brown wrote:
Are you wanting the preferences to be real-time changeable? For e
Cool...that's exactly what I was looking for!!
"Torgny Bjers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chris wrote:
>> I'd like to save some program preferences to a txt file where they can be
>> recalled and updated at a later time. Basically this will be a variable
>> name
>
On 9/27/05, Chris <[EMAIL PROTECTED]> wrote:
> I'd like to save some program preferences to a txt file where they can be
> recalled and updated at a later time. Basically this will be a variable name
> and a value. Can someone suggest a reference or method to best perform this
> task?
While learni
A.J. Brown wrote:
Are you wanting the preferences to be real-time changeable? For example,
user preferences that can be modified then saved? If so, just store them in
an array, then serialize the array and save it to a file. Read the file at
every page load.
[code]
//save the settings
$us
Are you wanting the preferences to be real-time changeable? For example,
user preferences that can be modified then saved? If so, just store them in
an array, then serialize the array and save it to a file. Read the file at
every page load.
[code]
//save the settings
$user_settings['setting
Chris wrote:
> I'd like to save some program preferences to a txt file where they can be
> recalled and updated at a later time. Basically this will be a variable name
> and a value. Can someone suggest a reference or method to best perform this
> task?
>
> Thanks
> Chris
> BTW: I do not want t
[snip]
I'd like to save some program preferences to a txt file where they can be
recalled and updated at a later time. Basically this will be a variable name
and a value. Can someone suggest a reference or method to best perform this
task?
[/snip]
Open a new file, save stuff to it, close the fi
I'd like to save some program preferences to a txt file where they can be
recalled and updated at a later time. Basically this will be a variable name
and a value. Can someone suggest a reference or method to best perform this
task?
Thanks
Chris
BTW: I do not want to use MySql.
--
PHP Genera
On Sun, 2004-09-26 at 10:00, Victor SpÃng Arthursson wrote:
> Which is the best way to save preferences (for a site) to make them
> easily accessable for changes?
>
> What I want is a way to save arrays and read them in again without
> having to use a databaseâ
>
> Thankful for suggests,
>
> s
Pahlevanzadeh Mohsen wrote:
Dear,I mean that you can't read XML file in multiuser
mode.
Can you elaborate? And what about other files? Are they different?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear,I mean that you can't read XML file in multiuser
mode.
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Pahlevanzadeh Mohsen wrote:
> > You should use XML files,But XML files will be
> lock
> > when you want to multiuser read it.
>
> It's not necessery to lock files for reading.
>
> > Also
On Monday 27 September 2004 01:00, Victor Spång Arthursson wrote:
> Which is the best way to save preferences (for a site) to make them
> easily accessable for changes?
>
> What I want is a way to save arrays and read them in again without
> having to use a database…
serialize().
Or if you want t
Pahlevanzadeh Mohsen wrote:
You should use XML files,But XML files will be lock
when you want to multiuser read it.
It's not necessery to lock files for reading.
Also arrays is having overhead for your server.Best
way is using databses.
Yours,Mohsen.
--- Victor Spång Arthursson <[EMAIL PROTECTED]>
You should use XML files,But XML files will be lock
when you want to multiuser read it.
Also arrays is having overhead for your server.Best
way is using databses.
Yours,Mohsen.
--- Victor Spång Arthursson <[EMAIL PROTECTED]>
wrote:
> Which is the best way to save preferences (for a
> site) to mak
Which is the best way to save preferences (for a site) to make them
easily accessable for changes?
What I want is a way to save arrays and read them in again without
having to use a database…
Thankful for suggests,
sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Isn't it simplier to just do like when you purchase something? You also
need a prove then that you have paid and are expecting the merchandise
to be shipped. That is simply solved with mailing a copy plus a
registration number for future reference.
Should be more than enough.
--
Maxim Maletsky
[
on
of what was submitted, a way to edit their initial input and a record which
they can keep on their own computer.
Hope this helps,
Hugh
- Original Message -
From: "Petre Agenbag" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 11:35 AM
Subj
on 29/01/03 6:35 AM, Petre Agenbag ([EMAIL PROTECTED]) wrote:
> Hi
> I have a rather annoying problem regarding forms.
> I have built an app that allows the users to fill in a rather large form
> (much like a claim form) and then have the data pumped into a mysql db.
> The problem is: the users wa
AIL PROTECTED]
za> cc: [EMAIL PROTECTED]
Subject: Re: [PHP] best way to save
form d
On Wednesday 29 January 2003 04:17, Petre Agenbag wrote:
> > > "save" their forms on their systems as a)
> > > backup/proof that they have filled it in and b)
> > > for their records for future use and c) the hope
> > > is that it would also allow for a reliable method
> > > to complete the form o
page (for printing off)
or copying to another form which could be used for next years data
Regards
Adam White
-Original Message-
From: Petre Agenbag [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2003 20:17
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] best way to save form da
> On Tue, 2003-01-28 at 22:09, Chris Shiflett wrote:
> > --- Petre Agenbag <[EMAIL PROTECTED]> wrote:
> > > I have a rather annoying problem regarding forms.
> > > I have built an app that allows the users to fill
> > > in a rather large form (much like a claim form)
> > > and then have the data pu
--- Petre Agenbag <[EMAIL PROTECTED]> wrote:
> This is exactly what I'm looking to do; but my problem
> remains: I don't know what the best solution is. The
> problem is clear: the users actually need an electronic
> copy of the data they submit; they must revisit certain
> issues annually, and wou
Hi Chris
On Tue, 2003-01-28 at 22:09, Chris Shiflett wrote:
> --- Petre Agenbag <[EMAIL PROTECTED]> wrote:
> > I have a rather annoying problem regarding forms.
> > I have built an app that allows the users to fill
> > in a rather large form (much like a claim form)
> > and then have the data pum
--- Petre Agenbag <[EMAIL PROTECTED]> wrote:
> I have a rather annoying problem regarding forms.
> I have built an app that allows the users to fill
> in a rather large form (much like a claim form)
> and then have the data pumped into a mysql db.
> The problem is: the users want to be able to
> "
> I have a rather annoying problem regarding forms.
> I have built an app that allows the users to fill in a rather large form
> (much like a claim form) and then have the data pumped into a mysql db.
> The problem is: the users want to be able to "save" their forms on their
> systems as a) backup/
reate the form in Excel and then figure out a way to
> import that into your database using a webapp
> c) client side app :(
>
> > -Original Message-
> > From: Petre Agenbag [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 28, 2003 2:35 PM
> > To: [EM
Hi
I have a rather annoying problem regarding forms.
I have built an app that allows the users to fill in a rather large form
(much like a claim form) and then have the data pumped into a mysql db.
The problem is: the users want to be able to "save" their forms on their
systems as a) backup/proof
;[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 6:48 PM
Subject: [PHP] Best way to save?
Besides using fOpen to save the output of a script to a file, What would be
your best recommendation for a way to save the output of a PHP script to an
HTML doc. Images will be included.
Thanks gang.
- No
Besides using fOpen to save the output of a script to a file, What would be your best
recommendation for a way to save the output of a PHP script to an HTML doc. Images
will be included.
Thanks gang.
- NorthBayShane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
35 matches
Mail list logo