RE: [PHP] Shopping with variables

2001-05-16 Thread scott [gts]
an'] of $items[$current]['type']"; > -Original Message- > From: John Monfort [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 16, 2001 9:02 AM > To: Ralph Guzman > Cc: Tarrant Costelloe; [EMAIL PROTECTED] > Subject: RE: [PHP] Shopping with variable

RE: [PHP] Shopping with variables

2001-05-16 Thread John Monfort
That will work, assuming the user is not allowed to purchase multiple items... -John On Wed, 16 May 2001, Ralph Guzman wrote: > Might want to reconsider the way you are doing this, since this may not be > the most efficient way. An alternative might be to do this as follows: > > In your web

RE: [PHP] Shopping with variables

2001-05-16 Thread Ralph Guzman
Might want to reconsider the way you are doing this, since this may not be the most efficient way. An alternative might be to do this as follows: In your web form set a field for Quantity and another for Item Name, so for example: ... Quantity: DVD VIDEO CD ... then when you process t

Re: [PHP] Shopping with variables

2001-05-16 Thread Vitali Falileev
Hello Tarrant, Wednesday, May 16, 2001, 12:12:43 PM, you wrote: TC> ? TC> This prints out, "You have bought 16 - Thank you" for example, see the TC> problem? How do I get it to print the variable name not just it's value? Use -- Best regards, Vitalimailto:[EMAIL