View Single Post
  #18  
Old 7th December 2010, 11:48
gabkoko's Avatar
gabkoko gabkoko is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 33
Default
Here is my php content:

PHP Code:
<?
if (!defined('TS_P_VERSION'))
{
    
define('TS_P_VERSION''1.2 by xam');
}
// Security Check.
if (!defined('IN_PLUGIN_SYSTEM'))
{
     die(
"<font face='verdana' size='2' color='darkred'><b>Error!</b> Direct initialization of this file is not allowed.</font>");
}

require_once(
'global.php');

gzip();
dbconn(true);
maxsysop();

$szulinap '';
$query mysql_query('SELECT username, birthday FROM users');
while (
$line mysql_fetch_row($query))
{
    list(
$day$month$year) = split("-"$line[1]);
    
$hit date('d') == $day && date('m') == $month;
//    $szulinap .= $line[0].' '.$line[1].' x '.$day."|".$month."|".$year.' x<br>';


    
if ($hit)
    {
        
$szulinap .= $line[0].', &nbsp;';
    }

}
 echo 
$szulinap;

?>
This does not work:
Attached Files
File Type: php szul2.php (2.0 KB, 17 views)
File Type: php szulinap2.php (1.7 KB, 16 views)
Reply With Quote
The Following 2 Users Say Thank You to gabkoko For This Useful Post:
FENIX (27th January 2013), hegylako (15th March 2011)