[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] if-data with SQL?
****** message to minivend-users from jojo@buchonline.net ******
Hi list,
i'm new in MySQL and i work with success. But i'm (desperatly?) seeking
for a little bit of SQL or MV codes like
if exist <The seeking codes> then etc.
This is the part codes to list the category names:
[loop search="
st=sql
fi=category
sf=name
ra=yes"]
<A HREF="http://__SERVER_NAME____CGI_URL__/brands_right_x?;[loop-code]" TARGET="RIGHT" >[loop-data category name]</A><BR><BR>
[/loop]
and this is the mv-codes to search for products with this brand and
this categroy.
[area href="scan/ml=3/st=sql/fi=products/sf=brandname/se=[scratch brandname]/sf=categoryname/se=[scratch categoryname]"]
But some brands hasn't any products in some categories. I want for
example
[loop search="
st=sql
fi=category
sf=name
ra=yes"]
<if exist scan/ml=3/st=sql/fi=products/sf=brandname/se=[scratch brandname]/sf=categoryname/se=[scratch categoryname>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The seeking codes!
[then]
<A HREF="http://__SERVER_NAME____CGI_URL__/brands_right_x?;[loop-code]" TARGET="RIGHT" >[loop-data category name]</A><BR><BR>
[/then]
[/if]
[/loop]
Any idea?
Any hints and helps are very wellcome!
Thanks!
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list