<td height="25" colspan="2" bgcolor="#FFFFFF"><div align="center"><input type="submit" value="添加" class="buttoncss"> <input type="reset" value="重写" class="buttoncss"></div></td>
做了一段时间的cs开发,现在在学php。看了些源码,很多把div写在td里面,不知道怎么回事,
做了一段时间的cs开发,现在在学php。看了些源码,很多把div写在td里面,不知道怎么回事,
顺便问一下
$conn = mysql_connect($this->mysql_servername,$this->mysql_username,$this->mysql_password);
//$conn = mysql_connect("localhost","root","sql");
echo($this->mysql_servername.$this->mysql_username.$this->mysql_password);
我用注释的那一行就可以成功,用第一行就连接失败,但是我echo出来的参数就是 "localhost","root","sql"不知道什么原因!
不可能吧.....你加上 die(mysql_error()) 看原因