Jump to content

PHP and CSS


harlequin2k6

Recommended Posts

so this would be the line of code I'm talking about:
[code]  echo "<li>" . $row['BoardMemberName'] . $row['BoardMemberTerm'] . $row['BoardMemberElection'] . "</li>";
[/code]
and if you look at this [a href=\"http://test.suncoastusbcba.org/board.php\" target=\"_blank\"]page[/a] you'll see what I mean about wanting to format it - there's no spacing between any of the fields so unless you know what it is that you're reading it's really not going to make any sense

any help would be greatly appreciated
Link to comment
https://forums.phpfreaks.com/topic/10152-php-and-css/
Share on other sites

I apologize that my question was so unclear...my inexperience with php is really causing me some trouble...I even tried to go through the explanation again and couldn't make it come out any clearer [img src=\"style_emoticons/[#EMO_DIR#]/huh.gif\" style=\"vertical-align:middle\" emoid=\":huh:\" border=\"0\" alt=\"huh.gif\" /]

but this is what I finally came up with which is what I was looking for

[code]echo "<div class=\"boardmembername\">" . $row['BoardMemberName'] . "</div>" . "<div class=\"boardmemberterm\">" . $row['BoardMemberTerm'] . "</div>" . "<div class=\"boardmemberelection\">" . $row['BoardMemberElection'] . "</div>";
[/code]

I was not grasping the fact that the "." is a string concantenator (sp?)

all that I was trying to achieve can been seen here with the [a href=\"http://test.suncoastusbcba.org/board.php\" target=\"_blank\"]"Directors"[/a] section
Link to comment
https://forums.phpfreaks.com/topic/10152-php-and-css/#findComment-37843
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.