$edit = ($admin == 1) ? 'Delete Post - <a href=/post.php?method=edit&is_topic=1&tid=' echo $tid '>Edit</a>' : '';
I have a problem when echoing $tid. that was my last restort. It seems just $tid wont work either nor will ".$tid."
any suggestions?
parse
Moderator: General Moderators
- Think Pink
- Forum Contributor
- Posts: 106
- Joined: Mon Aug 02, 2004 3:29 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
try
Code: Select all
$edit = ($admin == 1) ? 'Delete Post - <a href="/post.php?method=edit&is_topic=1&tid=' . urlencode($tid) . '">Edit</a>' : '';