Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
Because he thinks rain is annoying and because he likes his food cooked.
-
It doesn't support it at all. Of course it "supports" all the pseudo-XHTML a lot of people are using that's in reality HTML, but that doesn't count. Try it out yourself and determine if it even partially supports XHTML. I think you're confusing stuff. XHTML will look like HTML if the browser supports it, and "raw XHTML" doesn't make sense. What's that supposed to mean?
-
[SOLVED] Math Problem and Coding Problem! NEED HELP!
Daniel0 replied to yakoup46's topic in PHP Coding Help
Well, imagine this set of conditionals (pseudo-code): if A: something; else if B: something else; else: something entirely different; This is essentially saying: If it's the case that A then do this: <something> If it's not the case that A, but it's the case that B, then do this: <something else> If it's not the case that B, then do this: <something entirely different> B will only be evaluated if A is false. -
[SOLVED] Math Problem and Coding Problem! NEED HELP!
Daniel0 replied to yakoup46's topic in PHP Coding Help
Then move that conditional up before the other one that checks if $i is divisible by 5. You'll never get to $i%5==0 && $i%2==0 because it'll only evaluate to true if $i%5==0, but if that's true then it'll never be evaluated because it's only evaluated if it's not the case that $i%5==0 -
You'll never be as cool as this guy though: http://wallout.com/files/images/dual_wielding_ak47.jpg
-
Try this (in .htaccess or httpd.conf): RewriteEngine on RewriteCond %{QUERY_STRING} ^n=([a-zA-Z0-9-]+) RewriteRule products\.php$ /products/%1 [R=301,L] RewriteRule products\.php$ /products/ [R=301,L]
-
How to start and maintain a good forum (such as this one)
Daniel0 replied to Derleek's topic in Miscellaneous
In that case, why not create a Javascript forum. Anyway, you've got about 1700 members. You haven't even been open for a year. You'll need to give it time. You won't just suddenly be big. Help forums tend to grow slower than other forums. Many people register just to get help with one issue and then leave again. These people never intended to actually stay. -
I've never assembled a computer before. I'm pretty sure I'd be able to, but it would probably take me a little while considering I've never done something like that before.
-
I'm pretty sure that IE7 conditional comments work for me in IE8 disguised as IE7.
-
IE8 also starts really fast. Faster than any other browser on my computer.
-
Store the values as cent instead of dollars. You can never be guaranteed accurate representations of floating point numbers using a computer.
-
The problem is that if you have such a large screen then you would have to move your head too much because you couldn't actually look at the entire screen at once. I think you'd quickly find that too annoying when reading. Of course you could move farther back, but then the text would have to be equally larger in order to read it. Larger text within the same area means less text within that area though.
-
Like you just did in the loop. Just iteratively keep adding.
-
works aswell. But i still cant use the parts :,( i used foreach($parts as $key => $value) { echo $value.'<br />'; } foreach(explode("'", number_format(1234567890, 0, '.', "'")) as $key => $value) { echo $value . PHP_EOL; } outputs 1 234 567 890 What else do you want? If you want it reversed then just do: $parts = explode("'", number_format(1234567890, 0, '.', "'")); for ($i = sizeof($parts) - 1; $i >= 0; $i--) { echo $parts[$i] . PHP_EOL; }
-
Do install (X|W|L)AMP or everything individually?
Daniel0 replied to Yesideez's topic in Miscellaneous
Sorry, I must have mixed up stuff. Nevermind me -
You're all making it needlessly more complex that it has to be. $parts = explode("'", number_format($number, 0, '.', "'"));
-
Do install (X|W|L)AMP or everything individually?
Daniel0 replied to Yesideez's topic in Miscellaneous
Last I checked, XAMPP was replaced with WampServer. Dunno if that's what you mean. -
Maybe buy two of these: http://www.engadget.com/2005/12/03/the-dell-3007wfp-dell-brings-the-30-inch-lcd-love/2
-
I'd just go with plain PHP in the template files. A project I'm working on now uses some stupid template system. I constantly have to refer to the documentation or look at existing source code to figure out how to do even the simplest things. It's really annoying.
-
And then you move on to cut his power and then laugh at him and his security system.
-
Pass the bill on to your client...
-
Because that's the file name extension that's used for executable files on a Windows platform?
-
You can't just do "INTERVAL 7 DAY" alone. What's that supposed to mean? Go 7 days forward, go backwards, both? SELET * FROM comments WHERE date BETWEEN CURDATE() AND CURDATE() - INTERVAL 7 DAYS;
-
For the most part, quirks mode will only be activated if you do not specify a DOCTYPE or specify an invalid one. If you always give a valid one then you don't have to worry (except if you for peculiar reasons would like to use HTML 3.2). I suppose you mean the box model. It's not really possible because it's simply IE that's doing it wrong though. Using a reset stylesheet, and perhaps using ie7-js, helps a lot though.