View Full Version : Hack edit
geniuscrew
03-22-2003, 09:23 PM
Can someone please tell me why I get an error when I change this
$message = "."]."]."]".$message."";
to this
$message = "<span style="".$bbuserinfo[post_color]."; font-family:".$bbuserinfo[post_font]."; size:".$bbuserinfo[post_size].">".$message."</font>";
Thanks
amykhar
03-22-2003, 10:10 PM
This might be it:
style="".$
You have an extra quote there I think. Either that or you need to escape one.
geniuscrew
03-22-2003, 10:21 PM
escape one ie take one out?
amykhar
03-23-2003, 02:11 AM
No. You need to put an escape slash before the first quote I believe. What is happening is by not escaping the quote with a \ it is closing the string before you are ready to. Any time you use a quote within a quote you need to use the slash to tell the parser that you mean that to be a quote character and not the end of the string.
geniuscrew
03-24-2003, 06:02 AM
Got it- I'll try that
Thanks Amy
geniuscrew
03-24-2003, 02:35 PM
Cheers amy - all is happy :)
amykhar
03-24-2003, 04:40 PM
Yay!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.