Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.