|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
PHP $row manipulation/formatting
Hi there,
I barely started using php and have a question regarding $row formatting/manipulation. This is the part of my code that I'm having problems with: echo $row['company']."<br><br>"; echo $row['state']."<br>"; echo $row['city']."<br>"; echo $row['address']."<br>"; echo $row['phone']."<br>"; I simply can't figure out how to change the font size, color or add hyperlinks. I've tried all the tricks in my boo, which are just a few, and simply can not find a solution to my problem. I hope there is someone who can help me with this. Bwana |
|
#2
|
|||
|
|||
|
RE: PHP $row manipulation/formatting
Remember, you're basically writing HTML code here...so what's missing?
How about we make the first line blue & arial 12px? echo "<font face=arial color=blue size=12pt>" . $row['company'] . "</font><br><br>"; or you could use styles: echo "<span style='font: 12px Arial; color: blue'>" . $row['company'] . "</span><br><br>"; Hope that helps! |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Applications > PHP $row manipulation/formatting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|