Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
Hi PHP Gurus
I display many items in menu of my website.
I have code something like this
echo "<a href='index.php?m_id=".$row['id']."'>".$row['name']."</a>";
I try to add more items in the menu, but they go outside my table boundry. So how can i change the above code, or add more code so that i split menu items in 2 (or more) lines?
- New php-forum User
- Posts: 1
- Joined: Thu Oct 04, 2012 11:16 am
by adding a <br /> where you want the break to be. If you paste the code for the menu, I or someone else may be able to offer more help.
- php-forum Fan User
- Posts: 705
- Joined: Mon Oct 01, 2012 12:32 pm
Return to PHP coding => General
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 2 guests