pager. please help

From: Date: Sat, 22 Nov 2003 20:13:30 +0000
Subject: pager. please help
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10587@lists.php.net to get a copy of this message
does someone uses the pagination? {pager rowcount=$LISTDATA limit=$limit} my php file looks like this: $connection = mysql_connect("$hostname", "$username", "$password"); $db = mysql_select_db("$database", $connection); $query = "select * from $table"; $result = mysql_query($query); $num_rows = mysql_num_rows($result); $mysql_array = mysql2array($result); $smarty->assign('LISTDATA',"$mysql_array" ); $smarty->assign('limit',"5" ); thanks for any help. Ivan R. Cardoso Siglobal Informatica LTDA. www.siglobal.com.br 11(55)6726-0248/9629-3707 ----- Original Message ----- From: "Andreas Otterstein" <webdesign@e-lite.at> To: "'Sonny'" <sonny2@gmx.de>; <smarty-general@lists.php.net> Sent: Saturday, November 22, 2003 5:39 PM Subject: AW: [SMARTY] dublicate handles in LiveUser Hey Guy, You are in the wrong mailing list. Smarty isn't the pear mailing list. Bye, Andy -----Ursprüngliche Nachricht----- Von: Sonny [mailto:sonny2@gmx.de] Gesendet: Samstag, 22. November 2003 20:31 An: smarty-general@lists.php.net Betreff: [SMARTY] dublicate handles in LiveUser Hello, id it true that LU doesn't take care about if an handle is already exist? I have tested it and had after them three times user "tester" but with different auth_user_id. mysql> select * from liveuser_users where handle="tester"; +--------------+--------+----------------------------------+-----------+ ---------------+----------------+-----------+ | auth_user_id | handle | passwd | lastlogin | owner_user_id | owner_group_id | is_active | +--------------+--------+----------------------------------+-----------+ ---------------+----------------+-----------+ | 2 | tester | 47c5ddb680e4397d7e8a099438819831 | NULL | NULL | NULL | Y | | 3 | tester | 1b4da9076839e54e14cf239d63de03f4 | NULL | NULL | NULL | Y | +--------------+--------+----------------------------------+-----------+ ---------------+----------------+-----------+ From my config array I have set "allowDuplicateHandles = 0". Is this an normal behavior or an bug or somewhere my fault? Thanks -Peter -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#10587) next »