Originally posted by BuzzLY
What is a shotlist?
I'm sure Elizabeth has a good shotlist. You fru-fru drink boys probably wouldn't have one though :p
Originally posted by BuzzLY
What is a shotlist?
I'm sure Elizabeth has a good shotlist. You fru-fru drink boys probably wouldn't have one though :p
Shutlist?
$x = 'I';
echo "Sh"."$x"."tlist";
Originally posted by move3rd
$x = 'I'; echo "Sh"."$x"."tlist";
[/B]
Wouldnt that be better put
$x = 'I';
echo "Sh".$x."tlist";
Bah! You could even do it with just one concatenator, given that you already know the data type....
echo "Sh$x"."tlist";
<?php
$lets = array(115,104,105,116,108,104,115,116);
foreach($lets as $let)
echo chr($let);
?>
shitlhst
second 104 should be a 105 :p
Originally posted by planetsim
shitlhst
second 104 should be a 105 :p
Yeah, but what's it matter? Any spellchecker is going to "crap out" (pun intended) on this anyway ...
<?php
$x="i";
$str="Sh$x"."tlist";
$return=system("grep $str /usr/share/dict/words");
echo $return;
?>
Originally posted by dalecosp
Yeah, but what's it matter? Any spellchecker is going to "crap out" (pun intended) on this anyway ...
<?php $x="i"; $str="Sh$x"."tlist"; $return=system("grep $str /usr/share/dict/words"); echo $return; ?>
[/B]
Shame on you for not using the php a/pspell functionality!
How about this:
$x = 'I';
echo "Sh{$x}tlist";
Mark
<sigh> What, to prove I can? Or do you think the result will somehow be different?
<?php
$x="i";
$str="Sh$x"."tlist";
$link=pspell_new("en");
$verify=pspell_check($link, $str);
if (!$verify) {
echo "See? It didn't change a thing!<br>";
} else {
echo "Goldbug has a point!<br>";
}
?>