分享到: ------解决方案-------------------- SELECT Time,Title FROM User WHERE ID='传入的ID值' ------解决方案-------------------- $rs = mysql_query("SELECT Time,Title FROM User WHERE ID='$id'"); $row = mysql_fetch_assoc($rs); echo $row['Time'], ' ', $row['Title']; ------解决方案--------------------