Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
Zend_Form. It can be used independently of the framework.
-
lol... it appears that the the way the modification we use checks whether a topic is solved or not is by checking whether the subject starts with [sOLVED] Anyways, SELECT ( SELECT COUNT(smf_messages.ID_MSG) FROM smf_messages INNER JOIN smf_topics ON smf_messages.ID_MSG = smf_topics.ID_FIRST_MSG WHERE SUBSTR(smf_messages.subject, 1, = '[sOLVED]' ) / COUNT(ID_TOPIC) AS topics_solved_pct FROM smf_topics; Gives you 0.1806, i.e. 18.06%.
-
I say you and I start that business. We'd be innovators I bet we could earn big bucks.
-
[SOLVED] Funny characters appear in email received <Â> or < Â Â >
Daniel0 replied to moh_sulaiman's topic in Miscellaneous
As effigy said, what charset do you use when storing the data in the database? -
You could probably build a robot and make it's AI controlled by PHP. I don't know how though ;P
-
The answer to a such question is almost always "yes".
-
http://64.233.183.104/search?q=cache%3Ahttp%3A%2F%2Fen.wikipedia.org%2Fwiki%2FGymnasium_(Denmark)&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a They probably don't block Google.
-
http://en.wikipedia.org/wiki/Gymnasium_(Denmark), second year Compare it to whatever school system you're used to.
-
Well, those tests take five hours each. It would probably be a bit too much doing tests for 10 hours straight
-
Just had a Danish written test yesterday, English today, Spanish tomorrow
-
Or perhaps you don't have the font that is used. It's using Arial, I can't remember if that ships with Ubuntu.
-
That's exactly the same...
-
How doesn't it work? Have you setup your hosts file to make test.localhost go to 127.0.0.1?
-
Try to post the virtual host part of your Apache configuration file.
-
<h2 class="main"><span>Roster</span></h2> <div class="cbox roster"> <div style="text-align: center;"> <? $q = mysql_query("SELECT * FROM `roster` ORDER BY `team` DESC"); $members = mysql_num_rows($q); if($members) { ?> <table cellspacing="0" class="full"> <? $i = 0; $team = ""; while($r = mysql_fetch_array($q)) { $names = array_map('ucwords', explode(' ', $r['name'])); $name = "{$names[0]} \"" . ucwords($r['nickname']) . "\" {$names[1]}"; $i += 1; if(file_exists("images/roster/".$r['id'].$r['filetype'])) { $pic = "images/roster/".$r['id'].$r['filetype']; } else { $pic = "images/roster/blankpic.jpg"; } if($team != $r['team']) { $team = $r['team']; ?> <tr> <td colspan="3" class="teamdivider"><?=$team?></td> </tr> <? } ?> <tr class="row<?=($i&1)?>"> <td><img src="<?=$pic?>" width="50" alt="" /></td> <td style="text-align: left;"> <a href="index.php?p=profile&pid=<?=$r['id']?>"> <?= $name ?> </a> </td> </tr> <? } echo "</table>"; } else { echo "<p>We have no players on the roster yet!</p>"; } ?> </div> </div>
-
I just tried... <?php $r['name'] = "justin beos"; $r['nickname'] = "powda"; $names = array_map('ucwords', explode(' ', $r['name'])); $name = "{$names[0]} \"" . ucwords($r['nickname']) . "\" {$names[1]}"; echo $name; ?> outputs: Justin "Powda" Beos Is that not what you wanted? In what way doesn't it work?
-
Ok. Another time, please don't modify the post after people have responded. You can do this (not tested): $names = array_map('ucwords', explode(' ', $r['name'])); $name = "{$names[0]} \"" . ucwords($r['nickname']) . "\" {$names[1]}";
-
How would you ever get Justin Beos Powda to become george "killa" bush? ???
-
When saving it (use save for web), you need to save it in either GIF or PNG and you will have to tick the transparency option.
-
Me too. I'm especially looking forward to 5.3's namespace support.
-
That would probably be the easiest solution. Have a forum where only new topics (no replies) can be made and have staff promote them to the main site if they're good enough. If people are up for that, then I can easily set that up. I just need to give staff a way of setting the author of the tutorial to someone else than themselves.
-
Edit: On second thought, you will have to wait for PHP 5.3's late static bindings.
-
What does $statement->bind_param('ii', $this->skip, $this->numberRows); do?
-
What kind of retarded legislators would ever pass a such law? It's outright ridiculous. I understand they want to protect the people against terrorists and what not, but it shouldn't be by restricting people's rights and by restricting scientific works/research.