LimitedStreak Posted August 23, 2011 Share Posted August 23, 2011 <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 Quote Link to comment Share on other sites More sharing options...
LimitedStreak Posted August 23, 2011 Author Share Posted August 23, 2011 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> Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted August 23, 2011 Share Posted August 23, 2011 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. Quote Link to comment Share on other sites More sharing options...
Robert Rudolf Posted August 24, 2011 Share Posted August 24, 2011 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 Quote Link to comment Share on other sites More sharing options...
Sim Posted August 24, 2011 Share Posted August 24, 2011 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. :) Quote Link to comment Share on other sites More sharing options...
Robert Rudolf Posted August 24, 2011 Share Posted August 24, 2011 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! Quote Link to comment Share on other sites More sharing options...
runthis Posted August 24, 2011 Share Posted August 24, 2011 Actually using a specific script to make your titles more alive, you do put style and html in the title attribute Quote Link to comment Share on other sites More sharing options...
Spudinski Posted August 24, 2011 Share Posted August 24, 2011 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. Quote Link to comment Share on other sites More sharing options...
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.