SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: MODIFY table

  1. #1
    SitePoint Enthusiast Ben Wilkins's Avatar
    Join Date
    Mar 2006
    Location
    England, United Kingdom
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MODIFY table

    Hey guys, i have this code in my template file, what would I put in my PHP file to make what ever I change in the textbox, changes the feild in mysql.

    The table is extra_fields >> gamename.

    PHP Code:
    <td>In-game nick:</td>    <td><input type="text" name="gamename" id="gamename" value="{$i.gamename}"/> 
    NSGclan.org

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,508
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    UPDATE extra_fields
    SET gamename = $gamename
    WHERE .....


Bookmarks

Posting Permissions

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