Pavlos1316 Posted April 15, 2011 Share Posted April 15, 2011 Hello, I have this syntax on my header div <p><a href="javascript:ajaxpage('shopcart.php', 'content');" class="difflink"><img src="../stock_photos/shopcart.png"><?php echo '<span class="text">'.writeShoppingCart().'</span>'; ?></a></p> but whatever I try it always output my echo in the next line instead of next to my picture file. How can I do it displayed at the same line? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/233787-php-echo-problem/ Share on other sites More sharing options...
Pavlos1316 Posted April 15, 2011 Author Share Posted April 15, 2011 ooooook... my break was inside the function and now I noticed. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/233787-php-echo-problem/#findComment-1201915 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.