<?php
include("ketnoi.php");
$id=$_GET["id"];
$qsm="select *from member where id=$id";
$qstp="select *from thanhpho";
$result=mysql_query($qsm,$conn);
while($row=mysql_fetch_array($result))
{
echo "";
echo"";
echo"";
$resulttp=mysql_query($qstp,$conn);
while($rowtp=mysql_fetch_array($resulttp))
{
echo"<option value=".$rowtp['id']."";
if($rowtp['id']==$row['thanhpho']){
echo " selected ";
}
echo ">".$rowtp['tp']."";
}
echo"
";
echo "nam <input type='radio' name='gioitinh' value='0'";
if($row['gioitinh']==0)
{
echo " checked ";
}
echo " />";
echo "nu <input type='radio' name='gioitinh' value='1'";
if($row['gioitinh']==1)
{
echo " checked ";
}
echo " />
";
echo"";
echo"";
}
?>
7/06/2009
Subscribe to:
Post Comments (Atom)
List
Profiles Information
About me : Nothing is 1 vài thứ - 1985
Places I've Lived : I ♥ Hà Nội
Home Page : http://www.shimivn.blogspot.com/
Think : 1:1000000000
Languages spoken : Vietnamese,English.
Mobile : sony C2305 ♥ ♥
dell : i3-Ram 3GB- HDD 250GB . ♥♥♥
Places I've Lived : I ♥ Hà Nội
Home Page : http://www.shimivn.blogspot.com/
Think : 1:1000000000
Languages spoken : Vietnamese,English.
Mobile : sony C2305 ♥ ♥
dell : i3-Ram 3GB- HDD 250GB . ♥♥♥
No comments: