Button

  Tue 18 / 04 / 2023

  Posted by: Mariya khan

Category : Laravel

Tags : laravel , backend

Description

Mjhe aik button bnana h jise click kro to jo data page p ara hai first record ka uski jaga 2 user ka aye pher again click kro to 3 ka ayee or ese ho chalta rahe jb tk next next krti jao    can anyone help me


  Answered by CDL

G @Mariya us kelie apko ajax call ke zarie server side pe user object ki request bhejni parey gi aur phir controller mein apne us user ko find krna hai aur find krne ke baad us mein +1 add kr ke user ko search krna hai to apke pas us se next wala user aa jaey ga, phir apne ajax ke zarie dom ko new user ki details ke sath update kr dena hai.

Then same process automtically chalta rahy ga, aur next button pe click krne ke baad next user ka record found krey ga, phir next and so on.

Solved
  Comment   Share
0 Likes   0 Comments