Bluehost.com Web Hosting $6.95

help please!

This is a discussion on help please! within the MySQL Database forums, part of the Database Forums category; Che cosa puņ essere? Le due query che cercano sugli ingredienti(r.IDingrediente) o sui piatti(p.nomepiatto), prese separatamente ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-03-2007
Cekko
 
Posts: n/a
Default help please!

Che cosa puņ essere? Le due query che cercano sugli
ingredienti(r.IDingrediente) o sui piatti(p.nomepiatto), prese separatamente
funzionano.....
Come posso metterle insieme correttamente?
Grazie.

Hai cercato le seguenti parole: sale - orto -
Io ho utilizzato questi ingredienti....sale - sale grosso -
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in c:\programmi\easyphp1-8\www\chefmaker\visualizza_piatto.php on
line 96


Risultati della ricerca:


Nessun risultato trovato: indietro

Query SQL generata:
SELECT * FROM ingredienti WHERE ingrediente LIKE '%sale%' OR ingrediente
LIKE '%orto%' OR 0
SELECT DISTINCT nomepiatto, tipopiatto FROM (piatti p JOIN ricette r USING
(IDpiatto)) WHERE ((r.IDingrediente = 32 OR r.IDingrediente = 175 OR
r.IDingrediente = 0 GROUP BY r.IDpiatto HAVING COUNT(*) = 2) OR
(p.nomepiatto LIKE '%sale%' AND p.nomepiatto LIKE '%orto%' AND 1)) ORDER BY
p.nomepiatto



Reply With Quote
  #2 (permalink)  
Old 02-03-2007
zano®
 
Posts: n/a
Default Re: help please!

Cekko ha scritto il 02/03/2007 11:21 AM:

To all the members of ng: following notes are in italian to explain
Cekko he MUST write in english, or something like this, :-) in order to
eventyally obtain an answer.


> Che cosa puņ essere?

Questo č un gruppo internazionale e quindi, se vuoi una risposta, devi
postare in inglese. :-)
E attendo pure io la risposta perchč ho un problema simile.


--
Esti Qatzi
http://zelohim.it upd 20.01.07 ubuntu user #4898

Il Fattucchiero puņ allacciarsi le scarpe con i piedi.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0