Results 1 to 13 of 13

Thread: php link guna id

  1. #1
    Join Date
    Jan 2004
    Location
    sabah
    Posts
    5
    Rep Power
    0

    php link guna id

    kalau aku nengok kat site yg guna cms, memang dia guna id utk link semua tu kan?

    jadi aku nak tanya camner nak buat tu semua, maksud aku link ke link.php?do=exit&id=88 la gitu ..

    apa nak buat? aku tau la nak buat link.php dulu... apa string dia?

    .....//

  2. #2
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    249
    first of all, Why do you want to do that first?

    Normally the ID will refer to database, and retrieve the link/content from database then output to user browser.

  3. #3
    Join Date
    Jan 2004
    Location
    sabah
    Posts
    5
    Rep Power
    0
    yea..... im doing a link exchange.. im using php-treats but its kindda hard to understand..

    start from scratches please..

    .....//

  4. #4
    Join Date
    Jan 2002
    Location
    SoObHanG JhaYa
    Posts
    501
    Rep Power
    226
    semua tu ada sangkut paut ngan database, tapi bergantung kepada apa yang ko buat... jadi seeloknya, beli buku PHP, atau baca tutorial2 yang ada kat net:

    www.free2code.com
    www.phpbuilder.net
    www.php.net
    www.phpfreaks.com

    <form name="jump">
    <select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" style="border:1px #393F31 solid;color:#393F31;font:10px Verdana;font-weight:bold;" >
    <option value="0" style="background: #9CC8FE" selected>*SELECT-LINKS</option>
    <option value="http://www.gengturbo.org/" style="background: #FF0000">GENGTURBO</option>
    <option value="http://www.phixelgrafix.com/" target="new" style="background: #C6D607">PHIXELGRAFIX</option>
    <option value="http://dailydigital.phixelgrafix.com/" style="background: #FCBC45">OLD-BLOG</option>
    <option value="http://www.mesrahosting.net/" style="background: #FF99CC">WEBHOSTING</option>
    </select>
    </form>

  5. #5
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    249
    well, i think u should start from PHP basic. Read PHP documentation - download from PHP.NET. Make simple database driven PHP websits first.

  6. #6
    Join Date
    Nov 2001
    Location
    Johor
    Posts
    772
    Rep Power
    233
    ya betul! kat sini besanye kitorang bincang pasal error on programming
    I hate when:

    vBulletin Message:
    Sorry! The administrator has specified that users can only post one message every 60 seconds

  7. #7
    Join Date
    Jun 2001
    Location
    Mystic Kingdoms
    Posts
    2,749
    Rep Power
    278
    dia query kat database, dan database akan trace bedasarkan ID iaitu primary key lazimnya.

    setiap pecahan dari link tuh sendiri adalah Function yang memberi arahan contohnya :
    link.php?do=exit&id=88

    link.php = file name
    do = [arahandisini] adalah function yang mengarahkan kepada exit [ke] dari database ber ID 88 [ada url kat sini contohnya] .. haaa camtuh laaa..

    jadi DO = [arahan] tuh mungkin boleh jadi Do= DELETE, Do=ADD etc etc.. bergantung kepada Function configuration..

    so macam kawan2 lain cakap... belajar DATABASE itu sendiri dulu, dan query2 related

  8. #8
    Join Date
    Jan 2002
    Location
    SoObHanG JhaYa
    Posts
    501
    Rep Power
    226
    dia nak code siap kott?
    <form name="jump">
    <select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" style="border:1px #393F31 solid;color:#393F31;font:10px Verdana;font-weight:bold;" >
    <option value="0" style="background: #9CC8FE" selected>*SELECT-LINKS</option>
    <option value="http://www.gengturbo.org/" style="background: #FF0000">GENGTURBO</option>
    <option value="http://www.phixelgrafix.com/" target="new" style="background: #C6D607">PHIXELGRAFIX</option>
    <option value="http://dailydigital.phixelgrafix.com/" style="background: #FCBC45">OLD-BLOG</option>
    <option value="http://www.mesrahosting.net/" style="background: #FF99CC">WEBHOSTING</option>
    </select>
    </form>

  9. #9
    Join Date
    Jun 2001
    Location
    Mystic Kingdoms
    Posts
    2,749
    Rep Power
    278
    dia nak code siap kott?
    wah!! rajinnya

    kalau code siap pun.. tapi code tuh tak match ngan database dia buat ape?? tak jalan pun..

  10. #10
    Join Date
    Jan 2003
    Location
    dreamland
    Posts
    240
    Rep Power
    208
    huarghghahahahha....

    pandaiiinyerrr.... <== buat nada cam iklan
    ^_^ <== stay happy

  11. #11
    Join Date
    Jan 2004
    Location
    sabah
    Posts
    5
    Rep Power
    0
    ayai yai... ok arr i'll try,

    im downloading php+apache+mySQl already

    but it seems like my mySQL is somewhat jammed
    (im using winxp pro service pack1) ntah sbab aku
    salah install kot? aku onstall balek ar....

    tp if u have somw\ehat a simple (cam mysticmind nyer)
    example, only this time its with the mySQl string..

    can a?

    .....//

  12. #12
    Join Date
    Nov 2003
    Location
    malaysia
    Posts
    25
    Rep Power
    0

  13. #13
    Join Date
    Nov 2001
    Location
    Johor
    Posts
    772
    Rep Power
    233
    easyphp lah... it'z easy like EZ lallla
    I hate when:

    vBulletin Message:
    Sorry! The administrator has specified that users can only post one message every 60 seconds

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. web tak guna....
    By kansai in forum Websites Review and Suggestion
    Replies: 5
    Last Post: 24-03-2004, 09:31 AM
  2. Masalah PHP guna DWMX
    By lktt in forum Website Programming
    Replies: 1
    Last Post: 25-07-2003, 01:25 AM
  3. Website guna Php
    By cybersix in forum Website Programming
    Replies: 1
    Last Post: 06-05-2003, 02:05 PM
  4. COBAAN guna flash MX
    By Gemp-X in forum Websites Review and Suggestion
    Replies: 4
    Last Post: 17-07-2002, 04:33 PM
  5. form guna PHP
    By nevland in forum Website Programming
    Replies: 0
    Last Post: 10-05-2002, 09:17 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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112