PHP项目学习——控件
主要是在项目学习中总结的一些东西 动态效果 flashbar滚动条,增加动态效果,直接嵌入html中 <!--flash滚动条--> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="886" height="12" align="bottom"> <param name="movie" value="images/00.swf" /> <param name="quality" value="high" /> <embed src="images/00.swf" width="800" height="12" align="bottom" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object> <!-- ----------------------------------- --> 效果 打开一个新窗口 open() 方法用于打开一个新的浏览器窗口或查找一个已命名的窗口。 window.open(URL,name,features,replace) <html> <body> <script type="text/javascript"> myWindow=window.open('','','width=200,height=100') myWindow.document.write("This is 'myWindow'") myWindow.focus() </script> </body> </html> MySQL中文乱码问题 设置MySQL的my.ini文件 分别在[client] 标签和[mysqld] 添加:character_set_server=utf8