SQL Recursive Query with PHP

Server Environment

- Linux

- MySQL (MariaDB) [url removed, login to view]

- PHP 5.6


In our app we have a translation context string. This string is build out of an tree.


[url removed, login to view]

The context parts are variable. And are possible one part up to 8 parts (dots).

Each item of the context is stored with its own ID and its parent inside the database.


ID, parent, name

1, 0, parameter

3, 1, names

4, 3, FrontSpalt

In a second table, I have a text to the last part of the context (right part) that is not isHelp=0


ID, parent, text

2,4,”Maß von Kor…..”

I want to build now a SQL query that shows me as a result the whole context with its text from the second table.

This result have to be written as html page with php 5.6

Attached you will find a dump of the two tables. This only contain some sample data.

The database do not contain “WITH” statement so it have to be solved another way.

I expect SQL scripts to run in phpymyadmin frontend.

As Sample:

[url removed, login to view] = “Maß von Korpusvorderkante bis zur Innenkante der F.”

Skills: Graphic Design, HTML, PHP, Website Design

See more: mysql hierarchical query, storing hierarchical data in a database, mysql hierarchical query self join, mysql tree structure query, php mysql hierarchical data, mysql parent child query, mysql category tree, mysql recursive query parent child tree, sql server html javascript, vbscript sql server html, sql server mobile sample, php site html sql, build website poker affiliation, software poker build website, build website applications

About the Employer:
( 557 reviews ) Berln, Germany

Project ID: #14866108

27 freelancers are bidding on average $144 for this job


To write sql query for retrieving the data from the second table and display the result as follows: Relevant Skills and Experience Parameter.names.Frontspalt = “Maß von Korpusvorderkante bis zur Innenkante der F.” Pr More

$100 USD in 2 days
(611 Reviews)
$155 USD in 3 days
(75 Reviews)

Looking forward to discuss further details about the project Relevant Skills and Experience proven track record on this site Proposed Milestones $222 USD - milestone

$222 USD in 3 days
(134 Reviews)

Hi, its pretty simple for me but I have few questions to ask, knock me for further discussion, PLEASE DON'T AWARD PROJECT BEFORE DISCUSSION. Thank You! Relevant Skills and Experience graphic, html, php, web Proposed More

$150 USD in 3 days
(122 Reviews)

interested for this project please discuss

$200 USD in 5 days
(226 Reviews)

Hey there, If you're looking for excellent development quality and great English communication skills, you've come to the right place. Relevant Skills and Experience I am a highly experienced web developer, with 13+ y More

$250 USD in 3 days
(28 Reviews)

Hello sir , I have +7 years of experience in designing high end web application. This bid can be further discussed to know more about your project Relevant Skills and Experience Some of my related work as Liquidbox.f More

$100 USD in 3 days
(120 Reviews)

Hello, Honorable Hiring Manager, Relevant Skills and Experience I am Expert Web Developer & I have 7+ years of experience. Web Development and Graphics designer Proposed Milestones $155 USD - Project Milestone

$155 USD in 3 days
(16 Reviews)
$250 USD in 3 days
(20 Reviews)
$155 USD in 3 days
(28 Reviews)

Hi, can you send me the dump of the tables? I can create it. Regards, Rocky Stay tuned, I'm still working on this proposal.

$85 USD in 3 days
(29 Reviews)

Hi,dear. We understand your requirements and I am very interested in this job - 'SQL Recursive Query with PHP'. We are senior software developers and I am able to perform this task with my developers team. Relevant Sk More

$155 USD in 1 day
(15 Reviews)

I am an expert. Relevant Skills and Experience Please contact me. Proposed Milestones $155 USD - complete Thanks for ur reply

$155 USD in 3 days
(4 Reviews)

HI, I would like to work on your sql task. I think that using WHILE and SELECT TOP 1 we can build a solution Relevant Skills and Experience I am .net/php/sql developer I work from Italy Proposed Milestones $111 USD More

$111 USD in 2 days
(14 Reviews)

Hi! I can perform this task efficiently and i can start work right now. Contact me for quick and quality work. Thanks

$110 USD in 1 day
(10 Reviews)

Hi, I can Create a PHP script that can be retrieved with .html extension which outputs the result from mysql tables. If you prefer me to do the job then kindly share your sample sql dumps on chat. Relevant Skills and More

$30 USD in 1 day
(28 Reviews)
$155 USD in 3 days
(6 Reviews)

Hi.I have a look into your requirements, I assure to do it perfectly.. I provide demo database along with sql query as per requirements.Completed by 1 day after hiring.Available now to start job. Relevant Skills and E More

$100 USD in 3 days
(3 Reviews)
$174 USD in 4 days
(1 Review)

Hello, I looked at the data you sent if I am right the output for parameter.names.Fuge_Oben would be "Maß von Oberkante...". Let me know if I am right, then I am sure I can give you a solution. Relevant Skills and Exp More

$88 USD in 3 days
(1 Review)