View Single Post
Old 11-27-2012, 11:10 PM   PM User | #2
Junsee
New Coder

 
Join Date: Jun 2012
Posts: 42
Thanks: 4
Thanked 5 Times in 5 Posts
Junsee is an unknown quantity at this point
Have you code, or would like to know how?

you need connection details first
PHP Code:
$sql "SELECT * FROM `table` WHERE `ID` = '$ID' ; ";
$rs mysql_query($sql$conn);
while (
$row mysql_fetch_array ($rs)){
    
$column1 $row['column1'];
    
#more columns ... 

    
echo $column1;
    
# echo more columns    

something like this...?

Last edited by Junsee; 11-27-2012 at 11:11 PM.. Reason: spelling teach me to ctrl+p
Junsee is offline   Reply With Quote