Gayner Posted August 7, 2009 Share Posted August 7, 2009 $receiver_name = '<a href=?showuser='.$row['sender_id'].'>' . $row['receiver_name'] . $row['to_desktop'] . '</a>'; But it works fine but look at my view source, lol it wont connect.. <td align="left"><a href=?showuser= 124>Gayner92</a></a></td> There is a space.. and it's weird.. I get my $row['sender_id'] name from ibf_logs.. it's a varchar 250 not null.. What is the problem ? Link to comment https://forums.phpfreaks.com/topic/169191-solved-weird-space-from-data/ Share on other sites More sharing options...
Adam Posted August 7, 2009 Share Posted August 7, 2009 Quite likely there was un-trimmed space when it was entered, try changing it to below and see if that solves the problem: trim($row['sender_id']) Link to comment https://forums.phpfreaks.com/topic/169191-solved-weird-space-from-data/#findComment-892717 Share on other sites More sharing options...
Gayner Posted August 7, 2009 Author Share Posted August 7, 2009 HAHA Thank's adam that worked perfectly! Topic solved. WOW.. PHP Is so cool Link to comment https://forums.phpfreaks.com/topic/169191-solved-weird-space-from-data/#findComment-892718 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.