Using mysql_real_escape_string for displayed content


Posted on 16th Feb 2014 07:03 pm by admin

On my website users can input data into a textarea and it will store it in the mysql database. But, I am unsure on how to prevent against mysql injections without using mysql_real_escape_string since I need to be able to display " " and / if the user enters it.

Basically similar to how a forum post displays text data is what I need to do

No comments posted yet

Your Answer:

Login to answer
221 Like 42 Dislike
Previous forums Next forums
Other forums

Php script to read msword file
hi,

I need to read a msword file and i want to print the contents in that word file.

i

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

Preventing blank or already entered values
Im trying to learn how to place a read file line by line and prevent duplicate entries and also BLAN

Function module "DPS_CHECK_TABLE_EXISTS" not found (after OSS 1422843 impl)
Dear All,

I implemented Note OSS 1422843.

When i execute the new report RSPO20

ok i need to join all this pages to make 1 neat code
i have 5 pages that make up my tv guide it works 100% but i want to make it 1 page if i can or 2, i

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

b+ tree
Hi
can every body help me about b+ tree ?(insert & delete)

PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash