Kaizer Boab wrote:
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 the View Cart page. It is part of a
loop to
pull o
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 the View Cart page. It is part of a
loop to
> > pull out
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 the View Cart page. It is part of a
loop to
> > pull out
Kaizer Boab wrote:
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:
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
Kaizer Boab wrote:
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 t
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
Not so. No stripslashes required.
If you add slashes when writing your PHP query, slashes will NOT be sent to
the DB.
In other words:
$name = addslashes( "O'Reilly" ) ;
$query = "
INSERT ...
SET name = '{$name}'
" ;
// etc.
will simply store "O'Reilly" in the DB. The desired result.
Neve
You can use addslashes .. which would be
$check = addslashes($check);
Then when you extract the information from the database to be displayed you
want to you
would need to stripslashes as such
$check = stripslashes($check);
It's typically a good idea to always add/strip slash
php-windows Digest 2 Apr 2004 12:42:07 - Issue 2192
Topics (messages 23344 through 23349):
Re: Refresh in php
23344 by: Nadim Attari
23348 by: Svensson, B.A.T. (HKG)
Mail Delivery (failure [EMAIL PROTECTED])
23345 by: shane.caraveo.com
quotes in mysql
23346
replace $check with mysql_escape_string($check);
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Sudeep sarath" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi friends,
>
> I have a 'textarea' in my php page and i need to put the details typed in
that textar
And in exactly what way would you suggest that this a php
functionality?
It is obvious from the previous letter that the author is
aware of that you can control this behaviour on the client
side, but the question was how this can be achieved on the
server side, and the answer to this question is:
Why does the wheel need to be reinvented every second month?
The solution to this "problem" is to escape all funny characters.
Particular when it comes to quotes, the traditional solution for
this during the last 40 years has been to quote the quote. Or use
double quotes to quote singe quotes, or
Hi friends,
I have a 'textarea' in my php page and i need to put the details typed in that
textarea box to my MySQL database. The content in the textarea box is(for example) :
I'm a good boy.
and insert string is:
insert into table_name (describe) values('" . $check . "')
where check is t
14 matches
Mail list logo