Giter Club home page Giter Club logo

phpsimplecrud-fs's Introduction

PHPSimpleCRUD-FS

Simple PHP CRUD application with data saved in JSON file

Features

  • Read users JSON file and display data in bootstrap table
  • Implement create and update forms for a user
  • Implement delete user functionality
  • Add image uploading functionality to every user
  • Implement form validation and do not submit form on invalid data

The project was created while recording youtube video

phpsimplecrud-fs's People

Contributors

thecodeholic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpsimplecrud-fs's Issues

I cant submit any request

Seems there's a problem, the CRUD data cant be submitted, it just simply refresh the page, and nothing happened. is there a way to fix it ?

best wishes

PHP warning - Cannot modify header information - headers already sent by...

Hi, thank you very much for the tutorial on youtube and the code.
I just tried it out and when I create or update the users, I get a PHP warning like:
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/..../crud/partials/header.php:1) in /www/htdocs/..../crud/create.php on line 32

I tried out typical solutions / tips on the net, but without any success.
Do you have any idea?

Best regards!
Alex

Increment ID by last ID+1 instead of random number?

Anyone know a way?

I also noticed that when you save a new user, the ID moves down, instead of staying above the name...

{
"name": "John Doe",
"username": "john22",
"email": "",
"phone": "12345",
"website": "",
"id": 1879571, <------------------
"extension": "jpg"
}

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.