By mmu on
hi , i need to retrieve data from data base , here is the situation ;
Data Store here ==>> db_query("INSERT INTO {rank} (uid, name) values (%d, '%s')", $user->uid, $data);
how can i read the data ?
i used this , $sql = "select count (*) from {rank} ;
can any one give me the correct one , thx
Comments
You can retrieve all the
You can retrieve all the records from rank with something like this
thx but see this
Where can i add $result to view the output?? thx