eyev Posted January 23, 2009 Share Posted January 23, 2009 Hi, i have an sql database with 2 users - I want to include each of their names in 1 url, however when I do: $url = 'http://www.foo.bar/'.$row[username]; it will create 2 urls with each of their names, is there a way to push them both into the same url? so if i print $url; it will put www.foo.bar/user1 and then www.foo.bar/user2 what I want it to do is put www.foo.bar/user1user2 is there anyway of doing this with mysql? Quote Link to comment https://forums.phpfreaks.com/topic/142082-help-on-printing-sql/ Share on other sites More sharing options...
Mchl Posted January 23, 2009 Share Posted January 23, 2009 Probably there is. Unless you show us your table structure, or your PHP code we won't be able to tell much more. Quote Link to comment https://forums.phpfreaks.com/topic/142082-help-on-printing-sql/#findComment-744112 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.