Jump to content
MakeWebGames

Recommended Posts

Posted

<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

Posted

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>
Posted

You can't put a <table> inside a title. Also, theres no such thing as <right>. You must also end raw HTML one way or another and start PHP to show a PHP code such as $i->rank.

Read the code, and you will see it's just a complete scramble. Literally.

Posted

Wow that is the funniest coding i've ever seen, how can you put in side a title a table with image tags and so on also leave that a side you opened a title with single quote didnt even close it???

also is <right> newly invented lol:D i suggest you atleast learn html and PHp before jumping in

Posted
Don't get discouraged LimitedStreak. I thought it was a very good effort and WOULD BE AWESOME IF YOU COULD DO THAT ON A TITLE. :)

Yah! dont give up, i've seen worser also i was'nt perfect my self, im sure other here wernt too, jus practise a little more and you shall get there!

Posted

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.

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...