Author Topic: Small Bug  (Read 456 times)

Offline Slashmore

  • Level 17
  • *
  • Posts: 156
  • Reputation: +1/-0
    • View Profile
Small Bug
« on: March 22, 2009, 09:10:50 AM »
I know should be simple but coding like 750 lines takes its toll on ya, anyway heres the bug,


I have this line

<td align="center" class="tbl"><a href="escrow.php?deal=accept&starter=<? print $from; ?>">Accept</a></center></td>

When I click on the page it shows it as

Slashmore">Accept

I want it so it shows as Accept and the link as escrow.php?deal=accept&starter=Slashmore



It's got to be a comma of something missing I just can't see it. Lol

Thanks, Sean


Offline Glenugie

  • Level 10
  • *
  • Posts: 64
  • Reputation: +0/-0
    • View Profile
    • The Land of Ennui
Re: Small Bug
« Reply #1 on: March 22, 2009, 09:21:01 AM »
I'm not sure why it's not working, after testing it myself it works fine:
Code: [Select]
<?php
$from 
"Slashmore";
?>

<a href="escrow.php?deal=accept&starter=<? print $from; ?>">Accept</a>

Unless its something before the code you've given?
Or maybe something to do with the table you have...

Anyway, I'm not sure why it's not working. Sorry about that.

Offline Slashmore

  • Level 17
  • *
  • Posts: 156
  • Reputation: +1/-0
    • View Profile
Re: Small Bug
« Reply #2 on: March 22, 2009, 09:40:03 AM »
I'm not sure why it's not working, after testing it myself it works fine:
Code: [Select]
<?php
$from 
"Slashmore";
?>

<a href="escrow.php?deal=accept&starter=<? print $from; ?>">Accept</a>

Unless its something before the code you've given?
Or maybe something to do with the table you have...

Anyway, I'm not sure why it's not working. Sorry about that.


Lol thanks but I found out why, It was trying to take it to the users profile as well as the link I wanted. Thanks  :):)

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal