PDA

View Full Version : Php Help!



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">&nbsp;<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 $?

308holes
December 1st, 2001, 03:42
lol Fixed it all i had to do was take the $ off the html code I though ti had to add that to both thanks for trying to help anyway i cant say that i have ever found a site with people that help as much as people help around here!!! thanks N-e-ways