Jump to content
MakeWebGames

Error


LimitedStreak

Recommended Posts

<CODE>echo "<b><tr>

<td class='hover' title=' <table style=color: black; width=300 cellspacing=0 cellpadding=0><tr><td width=80 style=padding-right: 3px;><img width=80px height=80px src=images/profile.jpg></td> <right><b><br><td><td><span style=font-size: 11px; font-weight: bold; padding-bottom: 5px;><b>$i->username</span> <br><b><font color=white>Rank:</b> $i->rank</font><br /><b><font color=white>Gang:</b> $i->crew</font></td></tr></table>

<onmouseout=\"nd();\" a href='profile.php?viewuser=$i->username' style=\"\"> $echo </a>

</tr>

,";

} ?></a></span></b></td></CODE>

hey guys,

i am trying to put a link onto $echo but it doesnt come up. The rest is done exept that, does anyone know how to put a link like the one the 4th last line.

<onmouseout=\"nd();\" a href='profile.php?viewuser=$i->username' style=\"\"> $echo </a>

thanks

Link to comment
Share on other sites

sorry for that

echo "<b><tr> 

<td class='hover' title=' <table style=color: black; width=300 cellspacing=0 cellpadding=0><tr><td width=80 style=padding-right: 3px;><img width=80px height=80px src=images/profile.jpg></td> <right><b><br><td><td><span style=font-size: 11px; font-weight: bold; padding-bottom: 5px;><b>$i->username</span> <br><b><font color=white>Rank:</b> $i->rank</font><br /><b><font color=white>Gang:</b> $i->crew</font></td></tr></table>
<onmouseout=\"nd();\" a href='profile.php?viewuser=$i->username' style=\"\"> $echo </a>
</tr>
,";
} ?></a></span></b></td>
Link to comment
Share on other sites

It wouldn't be awesome if you could, it'd be useless.

I think the OP needs to know the distinction between text, variables and functions in PHP. And yes, before anyone disagrees, markup IS only text to PHP.

Read an introductory chapter from any tutorial, or book to help you. Also, Google "Tableless web design".

And if a mod can just rectify their post, I'm sure the <CODE> tags were meant to be code containers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...