#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    2
    Rep Power
    0

    Php view edit delete add


    Dear friends,

    I would like to have idea of the way.

    I have MYSQL database called CV (Name, DOB, Working Experience)

    Php form
    1) add new CV to database
    2) view the list of CV from database
    3) CV detail

    My problem is here:

    On CV detail page, for Working experience field I want to add button "Edit" "Delete" and" Add new experience" without refreshing the whole page.

    May I have some idea.

    Regards,
    YAM
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    3
    Rep Power
    0
    Why dont u use ajax for this. Its very simple and add or edit or delete without loading the page..
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    2
    Rep Power
    0
    Originally Posted by srinivas9030
    Why dont u use ajax for this. Its very simple and add or edit or delete without loading the page..
    Thanks for quick reply... Can I have some sample quote?
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    3
    Rep Power
    0
    Can u send me ur php code.. i will do all the remaining work with ajax...
  8. #5
  9. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    This is a forum. If you have relevant suggestions, post them here.
    The 6 worst sins of security ē How to (properly) access a MySQL database with PHP

    Why canít I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    USA
    Posts
    4
    Rep Power
    0
    Yes, Ajex is the best and easy way in php to insert, view and delete data without refreshing.........
    you can also use j query.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2004
    Posts
    2,989
    Rep Power
    375
    you SHOULD use jquery (or other JS libraries) instead of pure javascript as they help you do more by writing less code.

IMN logo majestic logo threadwatch logo seochat tools logo