Ditutup

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

Kemahiran: Reka Bentuk Grafik, HTML, PHP, Reka Bentuk Laman Web

Lihat lebih lanjut: 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

Tentang Majikan:
( 557 ulasan ) Berln, Germany

ID Projek: #14866108

27 pekerja bebas membida secara purata $144 untuk pekerjaan ini

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 Lagi

$100 USD dalam 2 hari
(611 Ulasan)
8.8
$155 USD dalam 3 hari
(75 Ulasan)
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 dalam 3 hari
(134 Ulasan)
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 Lagi

$150 USD dalam 3 hari
(122 Ulasan)
6.6
Max01

interested for this project please discuss

$200 USD dalam 5 hari
(226 Ulasan)
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 Lagi

$250 USD dalam 3 hari
(28 Ulasan)
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 Lagi

$100 USD dalam 3 hari
(120 Ulasan)
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 dalam 3 hari
(16 Ulasan)
6.0
$250 USD dalam 3 hari
(20 Ulasan)
5.2
$155 USD dalam 3 hari
(28 Ulasan)
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 dalam 3 hari
(29 Ulasan)
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 Lagi

$155 USD dalam sehari
(15 Ulasan)
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 dalam 3 hari
(4 Ulasan)
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 Lagi

$111 USD dalam 2 hari
(14 Ulasan)
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 dalam sehari
(10 Ulasan)
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 Lagi

$30 USD dalam sehari
(28 Ulasan)
3.9
$155 USD dalam 3 hari
(6 Ulasan)
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 Lagi

$100 USD dalam 3 hari
(3 Ulasan)
2.9
$174 USD dalam 4 hari
(1 Ulasan)
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 Lagi

$88 USD dalam 3 hari
(1 Ulasan)
0.7