Ronald Wiplinger wrote:
I added just into a input field"
19" enclosure
which was displayed from the database as:
19\" enclosure
That gives me some questions:
1. where the protecting slash comes from?
Probably magic_quotes_gpc
2. how can I get it away when I want to display that field?
1.Probably that's because the function mysql_real_escape_string() is turned on.
You can check that in your php.ini configuration.
2. If you want to display them as you wanted, you can use stripcslashes() on
your output contents.
3. Maybe phpmyadmin automatically stripped that out.
And
1. Any
PHP is server side, it has nothing to do with client side, aside from
server up some information. You can, and should, validate the input
using PHP after it is submitted.
For client side validation you would need to use javascript. You can do
what you are trying to do in javascript, but it will
Javascript is your answer.
Cheers,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com
- Original Message -
From: "Bobpilly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 11:20 AM
Subject: [PHP] input field mask
Well, in the process of pulling out some code into a sample page to
send to the list I found the problem. It was yesterday when someone who
was testing it told me about the problem, but the problem must have
been going on for a week, because a week ago I added code to a global
include script th
On Tuesday 21 January 2003 23:03, Jason Wong wrote:
> Undo any configuration changes made recently, downgrade any recent upgrades
> etc. To paraphrase Newtown's First Law of Motion:
Sorry, "Newton's First Law of Motion" :)
> "Any working system tends to remain in that state unless external force
On Tuesday 21 January 2003 22:33, Dan Delaney wrote:
> Hi every body. I have a form that was originally working just fine. It
> had a series of input checkboxes with the same name ("interests[]").
> These values then ended up in an array ($_POST['interests']), which I
> then imploded into a comma s
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
024801c2c15b$1a770e70$0500a8c0@honeybee">news:024801c2c15b$1a770e70$0500a8c0@honeybee...
> show us code
Learn how to quote. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
show us code
- Original Message -
From: "Dan Delaney" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, January 21, 2003 8:33 AM
Subject: [PHP] Input field array ends up as "Array" string
Hi every body. I have a form that was originally working just fine. It
had a series of input checkboxes wit
9 matches
Mail list logo