I am trying to build a shopping cart for my college project. I am able to
display items from the database, add items to the cart, but I am unable to
view the items that are in the cart. In my "view_cart.php" page I receive
the following error:
"You have an error in your SQL syntax. Check the manua
Thanks for the replies, much appreciated. I have now managed to get the
query to work properly. As Justen suggested I added "WHERE" and the column
name.
"Kaizer Boab" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am trying to build a shopping cart
Is it possible to call a function from a hyperlink, and if so how do you go
about it?
Thanks in advance,
Boab
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to have my addItem() function in all shopping pages but I only want
it accessed via a link. Is this possible?
"Kaizer Boab" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is it possible to call a function from a hyperlink, and if so how do you
go
>
Thanks Stuart,
I'll give that a try.
"Stuart" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> kaizer boab wrote:
> > The problem I have is this:
> >
> > I have built a shopping cart using a session. I have an addItem()
function,
> >
I am developing a customer registration form which gathers the usual
details.
I have a field in my MySQL table 'customer_dob'. On my form I have list
boxes for 'dob_day', 'dob_month' and 'dob_year'.
I was wondering is it possible using "INSERT" to join these three fields
together to insert into '
Ellingsworth
> http://mail.med.upenn.edu/~jellings/
> AIM: vc2000support
>
> -Original Message-
> From: kaizer boab [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 25, 2004 4:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Joining Form Fields To Insert into Da
Hi everybody,
I have built a shopping cart using tables. I am able to add items and remove
items from the cart. The problem I am having is updating the quantities in
the cart.
When users view the cart they can see the quantity in a text field. I want
to allow users to type in the quantities they
Hi Justin,
I only have the one qty field in the View Cart page. It is part of a loop to
pull out all the quantities from the cart. It is retrieved via the script
below:
Since the qty
I have changed it to name="qty[]" . How would I reference it on my
processing script?
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Kaizer Boab wrote:
>
> > Hi Justin,
> >
> > I only have the one qty field in th
I have changed it to name="qty[]" . How would I reference it on my
processing script?
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Kaizer Boab wrote:
>
> > Hi Justin,
> >
> > I only have the one qty field in th
This has still got me stumped.
I tried the following script to update the table but I'm still experiencing
the same result, only one row updates, the rest remain unchanged.
while (list($k, $v) = each($qty))
{
$newQty = $v;
$update = "update cart set qty = $newQty WHERE trackerId = $trackerId A
Thanks Justin and Khashan for all your help.
Managed to resolve the issue. I named qty field using the albumId as key and
using qty as value.
All I had to do then was update the query in the while loop.
"Kaizer Boab" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED
I was wondering does
anybody know how to create a formatting toolbar?
Thanks,
kaizer boab
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
14 matches
Mail list logo