how to change the texebox properties through php?
plz give syntx or any little example.

could you explain why through serverside scripting like php? i hope you are aware of changing the textbox properties using a client side script like javascript.

You just write all your textbox properties in css file like:

.class1{
font-weight:normal;
}
.class2{
font-weight:bold;
}

You can change your textbox in php like:

if(something)
{
$style="class1";
}
else
{
$style="class2";
}

then use this class for your text box like:

<input type="textbox" name="test" class="<?=$style;?>" />

Beat me to it...