Results 1 to 2 of 2

Thread: camner nak wat delete/edit/update gunakan check box

  1. #1
    Join Date
    Mar 2002
    Location
    -
    Posts
    16
    Rep Power
    0

    camner nak wat delete/edit/update gunakan check box

    akum, saya nak tanya kengkawan sume, camner nak wat implement button delete, update,edit biler kita dsign check box.Ala cth nye macam dlm inbox yahoo & geocities->file manager la.kalu kita nak delete sender, kena tekan check box dulu, pastu push each button either delete, update,edit.pastu dia terus laksanakan arahan yg kita nak.Harap dpt bantu.

  2. #2
    Join Date
    Nov 2001
    Location
    MLK
    Posts
    119
    Rep Power
    220
    emm..

    ok, semua button mesti ada html code dia lebih kurang camni..

    <input type="submit name="add" value="Add"> << ni utk add, contoh..

    <input type="submit name="edit" value="Edit"> << ni utk edit..


    ok, sekarang ni, semua button2 kat atas ni dalam satu form

    <form method="post" action="action_send.php">
    <ni ada form2 yang lain>

    <input type="submit name="add" value="Add">
    <input type="submit name="edit" value="Edit
    </form>


    ok, dalam action_send.php kena ada satu checking

    dalam contoh ni, saya guna

    if($edit) { // maksud dia, jika tekan button edit dari form
    function utk edit kat sini;
    }
    if($add) { // ni jika button add ditekan
    function utk add kat sini;
    }

    yang2 lain2 bergantung kepada imaginasi korang..

    harap membantu...
    r0kawa

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. delete account
    By oasisgate in forum Member Introductions
    Replies: 4
    Last Post: 09-04-2011, 02:11 PM
  2. How delete post?Im new here!
    By xblue_skyx in forum Mamak Stall
    Replies: 6
    Last Post: 01-11-2007, 02:06 PM
  3. Add, Update and Delete using ASP
    By prompter46 in forum Website Programming
    Replies: 6
    Last Post: 25-04-2007, 06:12 PM
  4. kalau insert or delete lak camner
    By adique_7 in forum Website Programming
    Replies: 2
    Last Post: 03-05-2002, 12:28 AM
  5. camna nak delete guna check box
    By uje in forum Website Programming
    Replies: 7
    Last Post: 02-05-2002, 10:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37