Home >Backend Development >PHP Tutorial >Using PHP and ACCESS to write a chat room (7)_PHP tutorial

Using PHP and ACCESS to write a chat room (7)_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:31:20811browse

chtcont.php(as the current mainstream development language)3:
The code is as follows:
(as the current mainstream development language)
          $sCont=""; $ps="superldz"){
                            $result=@odbc_exec($ConnID,"SELECT TOP 25 sTime,sCont,sNameFrom,sNameTo,SeqID,sIPFrom FROM ChtCont ORDER BY SeqID DESC");            $lMax= -1;
while (@odbc_fetch_into($result,0,&$rArr)){
Arr[1];
$sLine =str_replace("%m",$rArr[2]."[".$rArr[5]."]",$sLine);
                                                    . rArr[4];
$sCont= $sLine.$sCont;
                                                                                          ​" WHERE UserID= ".$id);
                                              FROM User WHERE UserID=".$id);



http://www.bkjia.com/PHPjc/509098.html

www.bkjia.com

true

http: //www.bkjia.com/PHPjc/509098.html

TechArticlechtcont.php (as the current mainstream development language) 3: The code is as follows: ?php (as the current mainstream development language) Mainstream development languages) sCont=""; ConnID=@odbc_connect("jtfcht","admin",""); if (ConnID) if (id==...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn