thank you !
you are the first one who gave me a drinkable answer!
at first sight it seems to work
I give you some news and I wish you would help me if I got later problems!
Peter Prins wrote:
Piece of cake....
<?php
function myword($data){
$data=eregi_replace("C_(.*)","\1",$data);
$data=strtolower($data);
return $data;
}
?>
<table cellpadding=0 border=0 cellspacing=0><tr><td>
<table width=500 >
<tr>
<td class=std colspan=2>
<?php echo myword("C_GARDERUNOEIL"); ?>
</td>
</tr>
<tr>
<td class=boldRed align=center colspan=2>
<?php echo $error ?>
</td>
</tr>
<tr>
<td width="45%" class=smallBold align=right>
<?php echo myword("C_JOUEUR"); ?> 1.
</td>
<td align=left>
<input type="text" name="Player1" value="<?php echo $Player1 ?>" maxlength=12 size=15>
</td>
</tr>
<tr>
<td class=smallBold align=right>
<?php echo myword("C_JOUEUR"); ?> 2.
</td>
<td align=left>
<input type="text" name="Player2" value="<?php echo $Player2 ?>" maxlength=12 size=15>
</td>
</tr>
</table>
</td></tr></table>