Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe and Support WebmasterWorld
dynamic stylesheet RevealatoR msg:1212426 6:25 pm on Jan 12, 2003 (gmt 0) Hi All,
this is my first post here:
hope you know what i mean ;-)
andreasfriedrich msg:1212427 6:55 pm on Jan 12, 2003 (gmt 0)
Welcome to WebmasterWorld [ webmasterworld.com] RevealatoR.
Be sure to read Marcia`s
WebmasterWorld Welcome and Guide to the Basics [ webmasterworld.com] post.
Could you explain why you are escaping the single quotes. AFAIK they should not be escaped since you need them as the string delimiter. You would need to escape a single quote if you wanted to have it as a ordinary character in a string delimited by single quotes.
var test = 'Aaron\'s Party';
RevealatoR msg:1212428 7:23 pm on Jan 12, 2003 (gmt 0)
Could you explain why you are escaping the single quotes
sure, it was a snipped of a php script of mine.
andreasfriedrich msg:1212429 7:41 pm on Jan 12, 2003 (gmt 0)
Please make sure that when you post code it is working code. There are a lot of people around here who just copy and paste. They might not know why something is not working the way it is advertised.
If you are not sure, i.e. the code has not been tested, please say so explicitly.
Using here doc syntax in PHP would have saved you from having to escape quotes at all.
RevealatoR msg:1212430 9:00 pm on Jan 12, 2003 (gmt 0)
i did not say it works out of the box, but ok. andreasfriedrich msg:1212431 9:12 pm on Jan 12, 2003 (gmt 0)
You did not and I´m sorry if my comments were too harsh.