Sabmin Posted July 27, 2010 Share Posted July 27, 2010 maybe this is a stupid question but I don't get it... echo $user->user; works but why doesn't: Code: $username = $user->user; echo $username; or at least how can I send this variable through a url into an iframe? a simple $var = ("url.php?user=" . $user->user); just returns a empty string. Link to comment https://forums.phpfreaks.com/topic/209020-cant-redefine-a-variable/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.