Hi, I am using the following code to extract currently logged user name from PMA_DBI_fetch_value('SELECT USER();')<br><br>//        $userAndHost = PMA_DBI_fetch_value('SELECT USER();'); <br>//        $userAndHost = str_split($userAndHost); <br>
//        while ($i=0 < count($userAndHost)-1) { <br>//            $username += $userAndHost[$i]; <br>//            $i++; <br>//            if ($userAndHost[$i] == "@") { <br>//                break; <br>//            }<br>
<br>It takes a lot of time to load up the web page mainly due to the code above.  Is there any alternative to this?<br><br>Thanks!<br><br>P.S. follow my live progress update streams at <a href="http://zixan.info">zixan.info</a>.  I find it is much more effective way to communicate more frequently.  <br clear="all">
--------------------------------------------------<br>Best regards,<br>Zeeshan Mughal<br>Email:  <a href="mailto:zeeshanmughal@ieee.org">zeeshanmughal@ieee.org</a><br>Web:  <a href="http://www.zixan.info">http://www.zixan.info</a><br>