Select statement in html to read the contents of mysql table_PHP tutorial
WBOYOriginal
2016-07-21 16:01:441095browse
$record=0; $db=@mysql_pconnect('localhost','root'); @mysql_select_db('1234',$db); $strsql="select * from 1234_data"; $result=@mysql_query($strsql); $data=@mysql_fetch_array($result); $record=@mysql_num_rows($result);
echo "n"; ?>
http://www.bkjia.com/PHPjc/316757.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/316757.htmlTechArticle? $record=0; $db=@mysql_pconnect('localhost','root'); @mysql_select_db('1234',$db); $strsql=select * from 1234_data; $result=@mysql_query($strsql); $data=@mysql_fetch_array($result)...
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