need help with this code willing to pay small fee

Discussion in 'PHP' started by dougvcd, Mar 23, 2008.

  1. #1
    what i want is to be able to view all records in database one at a time and edit record if needed
    i have tried to do it with no success
    cheers
    Doug
    let me know how much and will give details
    payment via pay pal
     
    dougvcd, Mar 23, 2008 IP
  2. rushi1001

    rushi1001 Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i can make for u in php mysql but i need ditels of what u want to record and what kind of data you want to enter just pm me i will done it tomorrow.
     
    rushi1001, Mar 23, 2008 IP
  3. aminemx

    aminemx Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i can do this but send me detail .
     
    aminemx, Mar 23, 2008 IP
  4. mrki

    mrki Active Member

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Simple code to list users:

    
    <?
    ///START DATABASE CONNECTION///
    $connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd") 
    	or die ("Couldn't connect to server.");
    
    $db = mysql_select_db("$database_name", $connection)
    	or die("Couldn't select database.");
    ///END DATABASE CONNECTION///
    $query = "SELECT * FROM members ORDER BY userid ASC";
    $result = mysql_query($query)	or die ("Could not execute the query");	
    echo "<b>CURRENT MEMBERS</b><br><br>\n";
    while ($row = mysql_fetch_array($result))	{			
    extract($row);	
    echo "- User Id:$userid     Email:$email     Join Date:$payment_date <br>\n";	}
    ?>
    
    Code (markup):
    to edit them you can use phpadmin
     
    mrki, Mar 23, 2008 IP