Find Jobs
Hire Freelancers

Create PHP tree menu - repost

$10-30 USD

Completed
Posted over 10 years ago

$10-30 USD

Paid on delivery
-------------------DB-Structure------------------ | ID Name Parent Sort | | 1 menu1 0 3 | | 2 menu2 0 2 | | 3 menu3-1 6 1 | | 4 menu3-2 6 1 | | 5 menu3-2-1 4 1 | | 6 menu3 0 1 | --------------------------------------------------- The generated html should look like this: <ul> <li><a href="?c=3">menu3</a</li> <li><a href="?c=2">menu2</a></li> <li><a href="?c=1">menu1</a></li> </ul> When user clicks menu1 it should look like this: <ul> <li><a href="?c=3" class="active">menu3</a> <ul> <li><a href="?c=3_3">menu3-1</a></li> <li><a href="?c=3_4">menu3-2</a></li> </ul> </li> <li><a href="?c=2">menu2</a></li> <li><a href="?c=3">menu3</a></li> </ul> If user then clicks menu3-2 it should look like this: <ul> <li><a href="?c=3" class="active">menu3</a> <ul> <li><a href="?c=3_3">menu3-1</a></li> <li><a href="?c=3_4" class="active">menu3-2</a> <ul> <li><a href="?c=3_4_5">menu3-2-1</a></li> </ul> </li> </ul> </li> <li><a href="?c=2">menu2</a></li> <li><a href="?c=3">menu3</a></li> </ul> ------------------------------------------------------------------------- From the beginning only the menu-items with Parent-ID "0" will show up. When clicking on an menu-item the page should reload and show the sub category, based on the query string. Requirements: No CSS. No Javascript. Get menu structure from mySQL into an array. Generate the menu from the created array. Please let me know if I wasn't clear enough.
Project ID: 5325167

About the project

2 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
i did this before. pull up mysql tree table data and parse it show with menu and submenu [login to view URL] [login to view URL] What I just did. PHP, Mysql, UI layout and JQuery, AJAX, Json format. I can start this job right now. Hopefully, I can work for you.
$33 USD in 1 day
4.9 (14 reviews)
4.6
4.6
2 freelancers are bidding on average $29 USD for this job
User Avatar
Hello, I'm php expert, I do php, html, css, jquery, joomla, wordpress,.. this is simple job, please let me do it for you, thank you
$25 USD in 1 day
4.6 (30 reviews)
4.6
4.6

About the client

Flag of SWEDEN
Orebro, Sweden
5.0
27
Payment method verified
Member since Aug 3, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.