Home » MySQL, PHP8 December 2007

Add, edit, delete, login, register in PHP :: A simple and complete tutorial

Here is a simple and complete tutorial to add, edit, delete, login, and register in PHP with MySQL database.

The description is present in the code, in comments. I hope those comments are sufficient to describe the code. The database part is in the sql file named ‘database.sql’.

I have attached the code with this post. Download it and enjoy PHPing…

There are two versions of the code. First version contains only about PHP Session with Login and Register feature. The second version contains full featured PHP code with PHP Session, Login, Register, Add, Edit, and Delete feature.

1) Code with Login & Register feature only
Download full source code: PHP Session with Login and Register

2) Full PHP Code with all features: Login, Register, Add, Edit & Delete
Download full source code: Full PHP Code with all features: Login, Register, Add, Edit & Delete

Hope it helps. Thanks.

From Mukesh Chapagain's Blog, post Add, edit, delete, login, register in PHP :: A simple and complete tutorial

php magento mukesh chapagain

Get New Post by Email

Find me on

Facebook Twitter Google+ LinkedIn RSS Feed
  • Pingback:   Very simple add,edit,delete,display in PHP — Chapagain.com.np :: Blog

  • Pingback:   Very simple add, edit, delete, display in PHP — Chapagain.com.np :: Blog

  • 345gfh

    good luck chap !

  • lokoHAN

    could you help me with my file system??..
    please’..

    makulet_jerome12@yahoo.com

  • Kevin Parula090

    *_WEAK_*

  • Nanerme69

    very simple.. yet… very effective.. thank you very much! 

  • Geloalfaro

    tnx a lot, hehehehe, big help,

  • Pratikpate

    how can i edit record which are already there in the admin panel

  • pyxis

    may I ask where is the edit function?

  • unknown king

    thanks lottt………….

  • nikita

    hello, I did my view, edit and delete php but its not working.. Can you help me ?? :(

  • nikita

    hai, I’m having problem in edit.php and delete.php… some errors in that code and I really dunno where is the mistake… Can you help me..??

  • http://blog.chapagain.com.np/ Mukesh

    That has been fixed. Edit, delete feature was missing. Now there are two versions of the code. The full version is available now with add, edit, delete features.

  • http://blog.chapagain.com.np/ Mukesh

    That has been fixed. Edit, delete feature was missing. Now there are two versions of the code. The full version is available now with add, edit, delete features. Please download it again.

  • AkseliP

    Hmm, some installation instructions? I get error: Could not execute the select query. plz help!

  • hjhjhk

    ghjgjukj

  • Nikhil

    hi
    im beginner to php so will u please hlp how this are arrange to get a perfect form. eill u say r arrange

  • punit

    thanks v much

  • sai

    nice blog

  • jenelyn zepeda

    hi..im new to php and i have the error saying Access denied for user ‘root’@'localhost’ in config.php when i hit the the login button.i’ve donwloaded your full code in login,register,add,edit,delete.how i can fix this error?thank you!keep sharing :D

  • Safoku

    The reason you can access localhost because there is a password.Most localhost don’t have a password. Try removing it. ~Safoku@gmail.com for more questions. :D

  • Safoku

    I meant can’t.

  • safoku

    Try removing the password

  • VAruNA

    Thnx BRO

  • rae

    hi, 1st off thanks alot, but i dnt c the file database.sql

  • http://blog.chapagain.com.np/ Mukesh

    Sorry for the typo. The database file is login.sql.