Jump to content

Linking to an array


GunnDawg

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

Archived

This topic is now archived and is closed to further replies.

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