Jump to content

Recommended Posts

Alright so I have this page that lists every user that is signed up. Next to each username is a Message Me! link that i want to link to the reply.php page and have it auto fill in the "TO" part of the message with the persons username. It works when I click reply from my inbox system, but not here.

 

This is a snipet of the code, I know I am not doing it right, and thats why i ask.

 

						<table border="0" style="font-size: 12px; font-family: Tahoma; border: 1px solid black" bgcolor="#cccccc" width="256">
					<tr>
						<td>
						<? echo $r['username']; ?>
						</td>
						<br>
						<td>
						<?php echo <a href ="mail/reply.php?to=".$r['username']."">Message Me!</a>;
						Go to <a href='options.php'>Profile options</a>
						</td>		
					</tr>
					</table>

Link to comment
https://forums.phpfreaks.com/topic/190888-linking-to-an-array/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.