Find Jobs
Hire Freelancers

Dynamically create a mysql select query

$30-250 USD

Käynnissä
Julkaistu lähes 14 vuotta sitten

$30-250 USD

Maksettu toimituksen yhteydessä
Hi, I need a mysql query dynamically generated from post data. This is the table structure of the table which needs to be queried: c_id tag_id 1 1 1 2 2 1 The post data prints like this: [tags] => Array ( [param] => all [value] => Array ( [0] => 1 [0] => 2 ) ) The value array above is the array of tag_id and is chosen from a multiple select list so any number of tag_id's can be in that array. The query i would need to create based on the post data above would need to select any contact (c_id) which is assigned to both tag 1 and tag 2. In the case of the table above c_id 1 would be selected but not c_id 2. The basic query used to select this is SELECT c1.c_id FROM tag_table c1 JOIN tag_table c2 on c1.c_id = c2.c_id WHERE c1.tag_id = 1 AND c2.tag_id = 2 However I need this to be generated dynamically. Thanks Paul
Projektin tunnus (ID): 707338

Tietoa projektista

1 ehdotus
Etäprojekti
Aktiivinen 14 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
Myönnetty käyttäjälle:
Käyttäjän avatar
VALUEONWEB is a customer-specific service oriented company has got a Professional and creative team. We are the Professional Web Development Company having rich experience in Web design and development. We have expertise and experience in ecommerce site development, flash and animation. Our team can work on HTML,DHTML, JAVA SCRIPT, FLASH , ASP,ASP.NET,PHP,MY SQL, SQL Server, MS SQL. Our Bid includes development , deployment and testing. We are ready to start and send daily reports. we communicate through email,messenger,phone and [login to view URL] will a deliver a professional looking design(s) with proposed functionality to match your concept.
$30 USD 0 päivässä
5,0 (213 arvostelua)
7,9
7,9

Tietoja asiakkaasta

Maan UNITED KINGDOM lippu
Sheffield, United Kingdom
4,7
23
Liittynyt heinäk. 3, 2008

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.