felipepai Posted December 26, 2012 Report Share Posted December 26, 2012 gente to trabalhando com php duvida bem iniciante mesmo, como mudar com da letra meu codigo esteee <?phpinclude ("config.php"); $query = mysql_query("SELECT * FROM clientes"); while($prod = mysql_fetch_array($query)) { echo $prod['ID']; // mudaaaaaaaar cor daaaaaaaaa letra aquiiiiiiiii echo $prod['NOME']; // mudaaaaaaaar cor daaaaaaaaa letra aquiiiiiiiii echo "<br />"; }//ondem eu marquei quero que imprima branco como faz do geito mas simple possivel ?> Quote Link to comment Share on other sites More sharing options...
0 ESerra Posted December 26, 2012 Report Share Posted December 26, 2012 Movendo PHP » CSS. Quote Link to comment Share on other sites More sharing options...
0 HugoJapa Posted December 27, 2012 Report Share Posted December 27, 2012 <?phpinclude ("config.php");$query = mysql_query("SELECT * FROM clientes");while($prod = mysql_fetch_array($query)) {echo '<p><span style="color:white">'.$prod['ID'].'</span>'; // mudaaaaaaaar cor daaaaaaaaa letra aquiiiiiiiiiecho '<p><span style=color:white">'.$prod['NOME].'</span>'; // mudaaaaaaaar cor daaaaaaaaa letra aquiiiiiiiii echo "<br />";uma solução seria essa Quote Link to comment Share on other sites More sharing options...
0 felipepai Posted December 27, 2012 Author Report Share Posted December 27, 2012 valeu deu certo (resolvido) Quote Link to comment Share on other sites More sharing options...
Question
felipepai
gente to trabalhando com php duvida bem iniciante mesmo, como mudar com da letra meu codigo esteee
<?php
include ("config.php");
$query = mysql_query("SELECT * FROM clientes");
while($prod = mysql_fetch_array($query)) {
echo $prod['ID']; // mudaaaaaaaar cor daaaaaaaaa letra aquiiiiiiiii
echo $prod['NOME']; // mudaaaaaaaar cor daaaaaaaaa letra aquiiiiiiiii
echo "<br />";
}
//ondem eu marquei quero que imprima branco como faz do geito mas simple possivel
?>
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.