SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2005
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Submit Data to database Question

    Hi,

    What I am after is a form that a vistor fills in, the data gets submitted to a mysql database. Then I a go to administration backend, which will allow me to approve, edit, deny, add the information the vistor has posted and if it gets approved then it will show on my website.

    Does anyone know of any good free php / mysql scripts that has these features that I can modify to suit what I want.

    Thanks

    Matthew

  2. #2
    SitePoint Wizard simplecode's Avatar
    Join Date
    Jun 2006
    Posts
    1,129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You want ready made code or any kinda of a mdule , which u install and magic works ?

  3. #3
    SitePoint Enthusiast ScubaDvr2's Avatar
    Join Date
    Jun 2006
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't believe there are any free programs out there - but I bet if you went to scriptlance.com you could get this done for you for 5 bucks.

  4. #4
    SitePoint Evangelist Waffles's Avatar
    Join Date
    Nov 2005
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any good CMS would allow this, if you want a site wide thing or to 'borrow' code.

    or as said, you could get some to code this for $5.

  5. #5
    SitePoint Wizard simplecode's Avatar
    Join Date
    Jun 2006
    Posts
    1,129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont waste a single bucks on it . its very simple code to achive.

  6. #6
    SitePoint Wizard simplecode's Avatar
    Join Date
    Jun 2006
    Posts
    1,129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    $sqlinvite "Insert into table(field1,field2) values('$announcementid','$numofuserids[$i]') ";
            
            if(!(
    mysql_query($sqlinvite)))    
            {
                echo 
    "1--".$sqlinvite.mysql_error();
                exit;
            } 
    create status filed in table and give access to Admin whn he click on the link just update the table field ststus.


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
  •