HELP with mysql_real_escape_string


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

I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to do it.

I've attached the 'submit lyric' page and the page where I approve submitted lyrics.

(they're both PHP though they are supposed to be HTML - can't upload html files)
(index.php is the lyric approve page)

If anyone has any ideas, please could you give me some idea (novice here).

MUCH appreciated!

Thanks

239 Like 23 Dislike
Previous php-forum Next php-forum
Other php-forum

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

PHP Display Telephone Number On Referrer
I have used the php below to show a different telephone number in the header of the site depending u

Am i doing this wrong?
Im pulling from an Oracle database some info... one of which is a field count_pnums which is a NUMBE

why does my session end?
my connect.php starts the session just so you know
i can navigate arround my site fine except whe

validating url
im trying to validate url's sent to me by a form
the url's im collecting are for placing banners

Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that

Adding to the next element in a multidimensional array
Hi, I'm trying to add a value to $node->field_spaces['nid'] where x is the next available spo

date function help
i need help with date function

Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD H

upload form file types....
Hey all, I am learning PHP and I am writing a script from the W3C Schools tutorials for uploading fi

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