Fermé

SQL Recursive Query with PHP

Server Environment

- Linux

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

- PHP 5.6

Solution:

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

Like:

[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.

Like:

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

Like:

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.”

Re-Upload Dump files

Compétences : Conception graphique , HTML, PHP, Design de site internet

Voir plus : 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, php convert html pdf server linux, 2008 sql server 2000 sample, query php server css players, years experience aspnet sql server html javascript, parse html tables text using php, sql server html javascript, aspnet sql server html java script

Concernant l'employeur :
( 557 commentaires ) Berln, Germany

N° du projet : #14866108

27 freelance ont fait une offre moyenne de 144 $ pour ce travail

graphicaa

To write sql query for retrieving the data from the second table and display the result as follows: Relevant Skills and Experience [url removed, login to view] = “Maß von Korpusvorderkante bis zur Innenkante der F.” Pr Plus

100 $ USD en 2 jours
(611 Commentaires)
8.8
155 $ USD en 3 jours
(75 Commentaires)
7.6
srinichal

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 en 3 jours
(134 Commentaires)
7.4
ShiaFirst

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 Plus

150 $ USD en 3 jours
(122 Commentaires)
6.6
Max01

interested for this project please discuss

200 $ USD en 5 jours
(226 Commentaires)
6.4
mcfarhat

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 Plus

250 $ USD en 3 jours
(28 Commentaires)
6.0
waqasaahmad

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 Plus

100 $ USD en 3 jours
(120 Commentaires)
6.1
nurealam0055

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 en 3 jours
(16 Commentaires)
6.0
250 $ USD en 3 jours
(20 Commentaires)
5.2
155 $ USD en 3 jours
(28 Commentaires)
5.3
abbalove

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 en 3 jours
(29 Commentaires)
4.5
BeautiCG

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 Plus

155 $ USD en 1 jour
(15 Commentaires)
4.4
SilentStarMagic

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

155 $ USD en 3 jours
(4 Commentaires)
4.5
angnut

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 Plus

111 $ USD en 2 jours
(14 Commentaires)
4.2
usmanrana07

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

110 $ USD en 1 jour
(10 Commentaires)
4.1
ScriptsnDesigns

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 Plus

30 $ USD en 1 jour
(28 Commentaires)
3.9
155 $ USD en 3 jours
(6 Commentaires)
3.4
websolution2014

Hi.I have a look into your requirements, I assure to do it perfectly.. I provide demo database along with sql query as per [url removed, login to view] by 1 day after [url removed, login to view] now to start job. Relevant Skills and E Plus

100 $ USD en 3 jours
(3 Commentaires)
2.9
174 $ USD en 4 jours
(1 Commentaire)
2.0
clayknot

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 Plus

88 $ USD en 3 jours
(1 Commentaire)
0.7