I have a problem
I want to put my echo in color, with reference to my variable $table_values[4] which contains the color to apply.Code:$table_values = mysql_fetch_row($result); echo $table_values[1];
How can I achieve my target?
I have a problem
I want to put my echo in color, with reference to my variable $table_values[4] which contains the color to apply.Code:$table_values = mysql_fetch_row($result); echo $table_values[1];
How can I achieve my target?
can be like that ...Code:$table_values = mysql_fetch_row($result); echo '<FONT COLOR="'.$table_values[4].'">'.$table_values[1].'</FONT>';
Thank you, it works very well!
Two other questions:
- Can we put a vertical scroll bar in a simple way in a <div?
- I have an <input type = "text" and I would like the text that I entered in the text box remainder when the page refreshes. Is it easily possible?
I had thought to put a variable value ...
I would say not for the elevator in the DIV
for input / text it takes more value:
Code:echo '<INPUT TYPE="TEXT" NAME="field_text" VALUE="'.$value.'" />';
Bookmarks