|
|
|
|
|
by Vindexus
5445 days ago
|
|
Probably this one, which I use for testing function becho($value, $key = NULL)
{
echo '<br /><span style="background: #FFFFFF; color: #000000;">' . (NULL != $key ? $key . ' = ' : '') . $value . '</span>';
}
I also like this one function s($num)
{
return $num == 1 ? '' : 's';
}
Which I use like echo 'Showing ' . $results . ' result' . s($results) . '.';
|
|