Jump to content

Illegal characters?


paddyhaig

Recommended Posts

I am not really sure how to phrase this question.

What's wrong with this variable? Are some of the characters illegal and do I need to cancel them out. If so, how?

 

 

$_background_image = "url(../../graphics/graphic.png)";

 

The above is one of the rules from one of my css rulesets. I link to it as so from the css document.

 

#backdrop {

position:absolute;

width:970px;

height:985px;

z-index:0;

left:50%;

top: -1px;

margin-left:-485px;

/* background-image: url(../../graphics/graphic.png); */

background-image: <?php echo $_background_image ?>;

}

Link to comment
https://forums.phpfreaks.com/topic/207302-illegal-characters/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.