308holes
December 1st, 2001, 03:34
ok im new to php just started last week realy can some one help me with this script
html part:
<FORM ACTION="BM.php" METHOD="post">
Background color:<INPUT TYPE="text" NAME="$IBGColor" SIZE="20"><BR>
Border Size:<INPUT TYPE="text" NAME="$IBSize" SIZE="1"><BR>
Borger Color:<INPUT TYPE="text" NAME="$IBColor" SIZE="20"><BR>
Color of Text on Button:<INPUT TYPE="text" NAME="$ITColor" SIZE="20"><BR>
<INPUT TYPE="SUBMIT" Name="SUBMIT" VALUE="Make"> <INPUT TYPE="reset" NAME="reset" VALUE="Reset">
</FORM>
php part:
<?PHP
Print "
input {<BR>
background-color : # $IBGColor ;<BR>
border: $IBSize px solid # $IBColor ;<BR>
color : # $ITColor ;<BR>
font-size : $IFSize px;<BR>
font-family : Verdana, Arial, Helvetica, sans-serif;<BR>
font-weight : bold ;<BR>
}";
?>
it wont display the vars is show everything els thow is it because of the $?
html part:
<FORM ACTION="BM.php" METHOD="post">
Background color:<INPUT TYPE="text" NAME="$IBGColor" SIZE="20"><BR>
Border Size:<INPUT TYPE="text" NAME="$IBSize" SIZE="1"><BR>
Borger Color:<INPUT TYPE="text" NAME="$IBColor" SIZE="20"><BR>
Color of Text on Button:<INPUT TYPE="text" NAME="$ITColor" SIZE="20"><BR>
<INPUT TYPE="SUBMIT" Name="SUBMIT" VALUE="Make"> <INPUT TYPE="reset" NAME="reset" VALUE="Reset">
</FORM>
php part:
<?PHP
Print "
input {<BR>
background-color : # $IBGColor ;<BR>
border: $IBSize px solid # $IBColor ;<BR>
color : # $ITColor ;<BR>
font-size : $IFSize px;<BR>
font-family : Verdana, Arial, Helvetica, sans-serif;<BR>
font-weight : bold ;<BR>
}";
?>
it wont display the vars is show everything els thow is it because of the $?