1、elseif(中间没有空格)
2、$row="select name from user_info where name='$name'";(你少了一个双引号)

解决方案 »

  1.   

    $sql="insert into user_info (name,user_id,password,address,city,country,ping,sex,age,email,tel,card_no,card_type,expiry_date) 
    values ('$name','$user_id','$password','$address','$city','$country','$ping','$sex','$age','$email','$tel','$card_no','$card_type','$expiry_date')";
    mysql_query($sql);这里也有类似错误,少了“"”
      

  2.   

    错误提示是这页:addin.php
    你的首页index.php能运行,就是没问题了。
    错误的应该是addin.php,把addin.php贴出来才对。
      

  3.   

    index.php和addin.php都在顶贴上,已经贴出来了,
    谢谢