Array - echo and php

yes != -1

I’ve also tried your code, it works but no image, no links !

What do you see in the “View Page Source” where it should be? Do you have error reporting turned on?

Now it works, I don’t know why !
The only problem is that my doors and links are still in a row (vertically). Links are not under. I use an external CSS but they are all placed on the left margin.

Well, Danae, I would just use the code that I gave you in an earlier post. Place the four doors inside of DIV tags
and set them where you want on the page…

Here is an example of how it could work for you…
[php]


NORTH
EAST
SOUTH
WEST
[/php] This will place the four doors at all four sides of the page. You need to alter the names as I used ENGLISH ones. You also need to add the check to display or not display them if the door does not exist. These are HTML lines, you would need to make them into echo's to display, but you will get the idea once you place them on your page and test...

Thank you so much ErnieAlex for your help, greatly appreciated.
Now it works fine !

Glad to hear that you solved it. See you in your next post…

Sponsor our Newsletter | Privacy Policy | Terms of Service