Hello, I've had to reinstall my OS (windows vista 32 bit) and I think I still need to update something related to php. The pic below shows how php-pages are now shown in Expression Web. It should just be small white icons, so not with the 'php' written over it. I've had something installed on my comp called 'SQL Server 2005' that had got something to do with it? http://img5.imageshack.us/img5/7306/picmri.jpg Tia
Of course it's not because of the icons.. But they tell me something is not as before. When I save my pages again (with the very same code) the browser displays the pages differently. I'm guessing it is because the php saves the code in another way (?). Take a look at this piece of code for exemple: echo "<div id=\"box admin_output error\"><p>Could not log in. Wrong login information.<br/><a href=\"login.php#anc\" class=\"silent\">Try again</a></p></div>"; Code (markup): This div has multiple id's which worked perfectly before, now it doesn't show any of the 3 id styles.
You'll probably want to do a "view source" on the page to see if the generated HTML looks okay. If it does, then your problem lies elsewhere - maybe it's not finding the style sheet, for example.
The generated HTML does look okay and the style sheet is found because other styles are applied. If I set only 1 id it applies that single id, but when setting 2 or 3 id's it applies none. EDIT: This should be working according to me and doesn't.. http://www.verplrke.be/Kkuba/test.htm
Can an object have two ids? I thought it could have multiple classes but only one id. In any case, this has nothing to do with PHP.
It just means that you've an application which can open .php files ( and probably it's set as a default editor ). Right click -> Properties and check what's set as a default editor ( or Open With ) !
#ActiveFrost Okay, I get your point. When setting notepad as default editor the notepad icon shows up on it. #SmallPotatoes Changed to multiple classes, works. Well, isn't it PHP because it's written in PHP (under echo) or is it HTML because it shows as HTML eventually (when being echoed)? I thought PHP saved it incorrectly (like in a previous version or so).
Well, the actual problem was HTML/CSS. Yes, PHP generated the HTML/CSS in question, but if the same HTML/CSS had been generated by ASP or JSP or ColdFusion or anything else, the results would have been the same. I guess you could also say it was a coal-related problem since the server running the code was probably powered by electricity generated from burning coal. I don't mean to belabour the issue, but it seems to me it's more helpful to drill down to the most salient variable and work from there.