For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > September 2004 > Fetch array, display and update, all in one.. ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Fetch array, display and update, all in one.. ?

2004-09-07, 8:57 am

Hi All,

I have designed a debit-system database with a PHP frontend. The amounts
need to be updated on a monthly basis. now i have 10 clients in the system.
i can get all the fields and display them, but next to that, i need to
insert a field where we can enter an amount per client and after all the new
amounts have been filled in, i need to update the database with those
amounts entered.

I know that by using html forms to enter the info, i can submit the info and
do a update statement but the problem is, is that i need to dynamically add
the field to update the amount according to the amount of results resturned
from the database...

Hope you guys understand what i mean here... !

GM.


Erwin Moller

2004-09-07, 4:04 pm

Hi post@gam.co.za

If you want a response, better post to 1 group at a time.

I responded in this group alone so I don't annoy all the others.
I am curious if you find this answer.

Tip: Post to comp.lang.php in the future. Very active. :-)

To your question: No I do not understand what you mean.
Actually I have a few ideas what you *could* mean, but that doesn't help.
Sorry.

Regards,
Erwin Moller



2004-09-08, 3:56 pm

Hi Erwin,

Thanx for the reply and my apologies for posting to multiple lists.

Actually, all that needs to happen here :-

i have a table with 300 entries of client account numbers and amounts. they
need to be updated on a monthly basis. when i get the results from the
database i need to add a field in php to update the existing amount. i.e.
one field per row to add a new amount and update the database with the new
amount.

Hope this helps.


Regards, Gawie.


"Erwin Moller"
< since_humans_read_this_I_am_spammed_too_
much@spamyourself.com> wrote in
message news:413dc88e$0$78738$e4fe514c@news.xs4all.nl...
> Hi post@gam.co.za
>
> If you want a response, better post to 1 group at a time.
>
> I responded in this group alone so I don't annoy all the others.
> I am curious if you find this answer.
>
> Tip: Post to comp.lang.php in the future. Very active. :-)
>
> To your question: No I do not understand what you mean.
> Actually I have a few ideas what you *could* mean, but that doesn't help.
> Sorry.
>
> Regards,
> Erwin Moller
>
>
>



Erwin Moller

2004-09-17, 8:56 am

Hi post@gam.co.za

Sorry for very late response, I was in hospital for some time. :-(
Better now. :-)

Do you stillneed help or did you fix it yourself in the meantime?

Regards,
Erwin



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com