nebuLa Posted December 9, 2006 Share Posted December 9, 2006 I hope someone understands what I'm saying :-)I have this arcade script, which I've modified. I want most played games and newest games in the same column, right next to each other.[b]I want it to look like this:[/b][IMG]http://www.wallofflames.com/myspace/uploads/want.jpg[/img]This is how it is now:http://www.wallofflames.com/arcade[b]This will put one over the other....[/b]echo $sys->doMostPlayed(); echo $sys->doNewestGames();[b]This will do the same....[/b]echo $sys->doMostPlayed();echo $sys->doNewestGames();What code would I use to do this? Any help is appreciated :-) Link to comment https://forums.phpfreaks.com/topic/30045-resolved-echo-code-in-same-line/ Share on other sites More sharing options...
Jocka Posted December 9, 2006 Share Posted December 9, 2006 echo $sys->doMostPlayed() . $sys->doNewestGames();? Link to comment https://forums.phpfreaks.com/topic/30045-resolved-echo-code-in-same-line/#findComment-138130 Share on other sites More sharing options...
nebuLa Posted December 9, 2006 Author Share Posted December 9, 2006 That places them over each other also... http://www.wallofflames.com/arcade Link to comment https://forums.phpfreaks.com/topic/30045-resolved-echo-code-in-same-line/#findComment-138131 Share on other sites More sharing options...
hitman6003 Posted December 9, 2006 Share Posted December 9, 2006 [code]echo '<table> <tr> <td>' . $sys->doMostPlayed() . '</td> <td>' . $sys->doNewestgames() . '</td> </tr></table>';[/code]Or use css boxes if that's your bag. Link to comment https://forums.phpfreaks.com/topic/30045-resolved-echo-code-in-same-line/#findComment-138138 Share on other sites More sharing options...
nebuLa Posted December 9, 2006 Author Share Posted December 9, 2006 Thanks hitman. That worked great. Thanks so much for the help :-) Link to comment https://forums.phpfreaks.com/topic/30045-resolved-echo-code-in-same-line/#findComment-138168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.