android-mysql-okhttp:将数据发布到MySQL

时间:2024-05-30 06:38:20
【文件属性】:

文件名称:android-mysql-okhttp:将数据发布到MySQL

文件大小:87KB

文件格式:ZIP

更新时间:2024-05-30 06:38:20

Java

build.gradle compile ' com.squareup.okhttp:okhttp:2.5.0 ' PHP基础 <?php include "connnection.php" ; if ( isset ( $ _POST [ 'txtName' ])) { $ txtName = $ _POST [ 'txtName' ]; $ txtTel = $ _POST [ 'txtTel' ]; $ txtMajor = $ _POST [ 'txtMajor' ]; $ sql = "INSERT INTO student(name , tel , major) VALUES ('$txtName' , '$txtTel' , '$txtMajor')" ; $ result = mysqli_query ( $ conn , $ sq


【文件预览】:
android-mysql-okhttp-master
----.gitignore(91B)
----app()
--------.gitignore(7B)
--------build.gradle(724B)
--------src()
--------proguard-rules.pro(645B)
--------app.iml(8KB)
----settings.gradle(15B)
----build.gradle(498B)
----gradlew(5KB)
----README.md(590B)
----gradlew.bat(2KB)
----gradle.properties(855B)
----Mysql.iml(936B)
----.idea()
--------misc.xml(2KB)
--------encodings.xml(159B)
--------gradle.xml(701B)
--------vcs.xml(164B)
--------copyright()
--------runConfigurations.xml(564B)
--------compiler.xml(686B)
--------.name(5B)
--------modules.xml(347B)
----gradle()
--------wrapper()

网友评论