hi friends ,
Can u please help me,
I require change status code to my manage categories

please help me

Rakesh Nagekar

if($_GET['stat']==1){$p=1;$m=5;}
else{$p=0;$m=6;}
$q="update yourtable set status='".$p."' where id='".$_GET['id']."' ";
mysql_query($q);

this is to display status:

if($row['status']==0)
			{
			$i="In-Active";
			$j=1;
			}
			else
			{
			$i="Active";
			$j=2;
			}

This is where your status link in your page:

<td  align="center"class="style13" ><a href="managepage.php?id=<?=$row['id']?>&stat=<? echo $j?>" > <? echo $i?></a> </td>

Thanks Shanti,

u r code worked perfectly

and i ask if i have any more queries

and
u ask if u have any issues on viruses or worms
not only u if ur friends also having any issues on viruses or worms please inform
i will try to solve the issue

Thank u
Rakesh Nagekar

Fine...

And make this thread as solved...