i had written a query.
Expand|Select|Wrap|Line Numbers
- $sql3="select userid from projectassign where projectassign='$projectassign'";
- mysql_error();
- $result3=mysql_query($sql3);
- $num1=mysql_num_rows($result3);
- $i=0;
- while ($i < $num1)
- {
- $userid=mysql_result($result3,$i,"userid");
- echo $userid;
- $i++;
- }
Example:
i got the userid's as 1,2,3 from the query.
Now there is checkbox to each users with userid 1,2,3,4,5. so wat i need is i need users having userid's 1,2,3 as checked in their checkboxes. so can any one please....
Thank u..