search
HomeWeb Front-endHTML TutorialRegistration information page??_html/css_WEB-ITnose

想做个 网页录入的网页  先是录入信息  好多选项给人填写  然后 下面可以按条件查找 修改 记录



现在 录入部分太难看了 项目太多 堆起来太不美观  想弄成  比如     “用户基本信息”  这几个字 点一下 下面就显示 姓名 性别 等等的 信息 让人填写     “联系方式” 点一下 直前点过的“用户基本信息” 那项目就消失 直接就变 联系方式的 信息 填写框  类似的··    是不是 画好个 然后隐藏 点下项目就显示 出来 给人填写的? 我是这么想的 但是弄不来 
新手上路请多关照· 求详细代码 步骤···  我用dreamweaver的


回复讨论(解决方案)

像你说的用js就可以实现了

怎么弄呢?

js+css  先了解css吧,然后再过渡到jquery.
要学的东西还很多,如果基础不行那么就先别想那么多花俏的东西.

$conn=mysql_connect("localhost","xypi20","a16812343");
mysql_select_db("js");
mysql_query("set names 'gb2312'");
 $kind = $_GET['id'];
/*session_start();
if(!isset($_SESSION['keyword']))


  echo"<script>alert('请登录!');location.href='login.php';</script>";*/
echo $kind;
session_start();
$fuck=$_SESSION['keyword'];
echo $fuck;
if( $kind!=$fuck or !$fuck)

 echo"<script>alert('请登录!');location.href='login.php';</script>";
 
 
?>







Add user:

Permissions:






The woman’s name:

The man’s name:



Date of entry:



  



 
  

导出文件名:
    
    
  


  




  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    



if(isset($_POST["name"],$_POST["time"],$_POST["nname" ])){

$name=$_POST["name"];
$nname=$_POST["nname"];
$time=$_POST["time"];
$adminkind=$_POST["adminkind"];
$shengpi=$_POST["shengpi"];
$outfile=$_POST["outfile"];
echo $name;
echo $time;
echo $adminkind;

$sql="SELECT * FROM data where village='$adminkind' and approval='$shengpi' ";
if($name ) //name is not empty
{
$sql.=" and name of the mother-in-law='$name' ";
if($time)
$sql.=" and entry time= '$time' ";

"
}
if($time)
" 🎜> }
if($nname)
{
$sql .="and Husband’s name='$nname'";
if($time)
                                                           Entry time = '$time' ";


}

echo $shengpi;
echo $sql;
$query=mysql_query($sql);
/*$array=mysql_fetch_array($query1);*/
echo $query;
$title= "Gender t Name t Date of birth t Household registration type t Marital status t Marriage date t Pregnancy time t Termination of pregnancy Time t Reason for termination of pregnancy t Number of children t Name of child t Time of birth t Gender t Attributes of child t Mode of delivery t Date of death t Number of birth control attempts t Type of birth control t Time of birth control t Place of birth control t Termination measures t Reason for cancellation t Remarks r ";



$ok=fopen("c:\ $outfile.txt","a ");//Use a here to open in read-write mode and point the file pointer to the end of the file. If the file does not exist, try to create it
fwrite($ok,$title);
fclose($ok);

while($array=mysql_fetch_array($query)){
if( !$outfile==''){














$str="".$array["gender"]."t".$array["name"]."t".$array["date of birth"]."t". $array["Nature of household registration"]."t".$array["Marital status"]."t".$array["Marriage date"]."t".$array["Pregnancy time"]."t ".$array["Pregnancy termination time"]."t".$array["Pregnancy termination reason"]."t".$array["Children"]."t".$array["Children's names" ]."t".$array["Birth time"]."t".$array["Gender"]."t".$array["Child attributes"]."t".$array["Delivery method "]."t".$array["Date of Death"]."t".$array["Number of Birth Control Numbers"]."t".$array["Type of Birth Control"]."t".$array[" Birth control time"]."t".$array["Birth control location"]."t".$array["Termination measures"]."t".$array["Reason for cancellation"]."t".$array ["Remarks"]."r".$array["Gender 3"]."t".$array["Name 2"]."t".$array["Date of Birth 2"]."t" .$array["Household Registration Nature 2"]."t".$array["Marital Status 2"]."t".$array["Marriage Date 2"]."t"."t"."t" ."t".$array["Children 2"]."r";




$k=fopen("c:\ $outfile.txt","a ");//Use a here to open in read-write mode and point the file pointer to the end of the file. If the file does not exist, try to create it
fwrite($k,$str);
fclose($k);
echo"<script>alert('Export successful!');</ script>"; <br /> echo "<script>location.href='admin.php?id=$kind';</script>";
}
?>

Encoding"];?>&kind="> Delete





>
                              



                                                                                             ;


< ;td >

                                                             $array["Internal and external birth policy"];?>
                                                                                   >

                                         }
}




?>
操作 村别 组别 育妇姓名 育妇出生日期 育妇婚姻状况 丈夫姓名 丈夫出生日期 丈夫婚姻状况 育妇初婚日期 结婚日期 怀孕时间 怀孕政策属性 怀孕终止时间 怀孕终止地 男孩数 女孩数 末子出生日期 末子性别 出生政策内外 避孕状况 避孕开始日期 Surgery location Remarks
&kind="> Passed &kind="> ; Failed &kind="> php echo $array["Name of the mother-in-law"];?> < ;/td>
                                                                                                         ["Place of pregnancy termination"];?>



This code is too ugly ~~~~ Looking for education~~







That’s it. Who can help me arrange the layout? I’ll kneel down and thank you. I really can’t do it~~ It’s too ugly...
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

The Role of HTML: Structuring Web ContentThe Role of HTML: Structuring Web ContentApr 11, 2025 am 12:12 AM

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTML and Code: A Closer Look at the TerminologyHTML and Code: A Closer Look at the TerminologyApr 10, 2025 am 09:28 AM

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

HTML, CSS, and JavaScript: Essential Tools for Web DevelopersHTML, CSS, and JavaScript: Essential Tools for Web DevelopersApr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

The Roles of HTML, CSS, and JavaScript: Core ResponsibilitiesThe Roles of HTML, CSS, and JavaScript: Core ResponsibilitiesApr 08, 2025 pm 07:05 PM

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

Is HTML easy to learn for beginners?Is HTML easy to learn for beginners?Apr 07, 2025 am 12:11 AM

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

What is an example of a starting tag in HTML?What is an example of a starting tag in HTML?Apr 06, 2025 am 12:04 AM

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft