mysql书写格式的区别(15分)
$sql = "insert into users( username,password,sex,mail,tel,web,birthday,inter,intro,reg_time) ";
$sql .= " values( '{$name} ', '{$pass} ', '{$sex} ', '{$mail} ', '{$tel} ', '{$web} ', '{$birthday} ', '{$inter} ', '{$intro} ', '{$reg_time} ') ";
$sql = "insert into users( username,password,sex,mail,tel,web,birthday,inter,intro,reg_time) ";
$sql .= " values( '{$name} ', ";
$sql .= " '{$pass} ', ";
$sql .= " '{$sex} ', ";
$sql .= " '{$mail} ', ";
$sql .= " '{$tel} ', ";
$sql .= " '{$web} ', ";
$sql .= " '{$birthday} ', ";
$sql .= " '{$inter} ', ";
$sql .= " '{$intro} ', ";
$sql .= " '{$reg_time} ') ";
上边两种格式的区别是什么啊?
------解决方案--------------------没区别