backslashes before apostrophes and speech marks

liunx

Guest
every time i use my add an article script (that i have written) on my website it puts numerous backslashes before my 's and "s. However, I know i still need at least one backslash because the variable must be printed out within a print statement on the article page on the public website. judging that the final output on the page is a backslash then the apostrophe, what can i do in the script so it just shows the apostrophe?what language? php or aspsorry. php, should hav put this in the sub forumthat's cool, I will

so in php you need to use stripslashes() when you echo them out to the user.

echo stripslashes($var);so when i want to print out the variable $variable, for example, what would the line print("$variable"); change to?sorry didnt read that bit thanks u r a legend ive got it working now
 
Back
Top