GithubHelp home page GithubHelp logo

idben / phpupload01 Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 88 KB

Organize the uploaded images into an array format, so that php can write multiple images in the same column.

CSS 29.09% HTML 34.00% JavaScript 7.87% PHP 29.03%

phpupload01's Introduction

圖片上傳及標籤的整理

專案摘要

  1. 多圖上傳進入共用欄位的資料整理,使用陣列格式
  2. 表單有用 javascript 做好即使 tag 的切割
  3. 表單中的標籤輸入欄位是為了要切割整理用
  4. 整理好的 tag 存在變數 tags 中,格式為陣列,並即時 JSON.stringify,再置放在隱藏的欄位中。
  5. php 檔中是抓隱藏的標籤欄位來進入資料庫
  6. 其他寫入的部份請照上課的老師教的做,這個範例只是講述如何整理資料

操作

  1. 建立專案資料夾後
  2. 開啟終端機或命令提示字元
  3. 不要 git init
  4. 貼上以下指令,就可以直接在專案資料夾下下載專案,不會再多一層
git clone [email protected]:idben/phpUpload01.git .

操作圖示

操作圖示

結果圖示

結果圖示

示範網址

https://idben.tw-no1.com/iSpan/phpTest/upload01/

phpupload01's People

Contributors

idben avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.