php代码插入数据 [英] php code to insert data

查看:66
本文介绍了php代码插入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,考虑一个人第一次拨打电话,那么他们的来电显示号码可能是一个号码(例如-1)。如果同一个人第二次拨打电话,则表示他们的身份证号码必须出现as(example-1(1))。



请在php中指定代码



Id Name issue no

1 Abc 10

1(1)Abc 11

1(2)Abc 12

1(3)Abc 13

Consider for example , If a person made a call for the first time then their caller id number appers to be a number (example-1).Suppose if the same person made a call for second time then their id number must appear as (example-1 (1)).

please specify the code for it in php

Id Name issue no
1 Abc 10
1(1) Abc 11
1(2) Abc 12
1(3) Abc 13

推荐答案

if(isset(


_post ['submit']))// check如果表单已提交或未提交



{

//从表单元素中获取值,


_post['submit'])) //check if form has submitted or not

{
//gettting values from form elements,


name =


这篇关于php代码插入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆