• IBM 学习php 第一部分


    一、页面表单提交到另一页面
    fixed php
    registration_action.php

    在registration_action.php当中

    $firstPass = $password[0]; $secondPass = $password[1];  没有找到数据;

    fixed.php

    二、页面表单录入数据库

    该表单也是和上面的fixed.php中差不多,多出部分是della表单中的元素;

    login.php

    registration_action2.php

    1.函数 db_connect 当中的$user='root',$password='zdndd', $db='shop' 都是我phpmyadmin中的用户名、密码、shop数据库;

    2.$sql = "insert into della (name, address, school, id, birthday, msn, intruduction) values    della是一个数据库表,本来这里不是della的,不写肯定是要报错的了,还要我够聪明看到了phpmyadmin当中的SQL语言,哇哈哈!搞定!

  • 相关阅读:
    Java读写.properties文件实例,解决中文乱码问题
    web项目的getContextPath()
    PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
    Eclipse安装与配置
    Linux基础整理 + 注释
    git命令集合
    遍历List集合的三种方法
    使用jqueryUI和corethink实现的类似百度的搜索提示
    corethink功能模块探索开发(十八)前台页面插入jit前端数据可视化库
    corethink功能模块探索开发(十七)opencmf.php 配置文件
  • 原文地址:https://www.cnblogs.com/zdndd/p/1333024.html
Copyright © 2020-2023  润新知