Emiliano Boragina wrote:
Hi Chris,
Sorry... you're right!
With this I want to print the category in a html table after a search...
The search find the data, and print category and description. This category
is a number (ID), but I want to print the name of the category. My MYSQL
CATEGORY TABLE ha
'; php-db@lists.php.net
Asunto: Re: [PHP-DB] switch and while
Emiliano Boragina wrote:
> Thanks Arie...
> But I need to do "category1" be the ID of my table.
> Using this way I have CASE number_ID_table echo
string_CATEGORY_FIELD_table,
> and will be automatic... Many CASES as
[mailto:dmag...@gmail.com]
Enviado el: Viernes, 28 de Agosto de 2009 03:42 a.m.
Para: Emiliano Boragina
CC: 'Arie Nugraha'; php-db@lists.php.net
Asunto: Re: [PHP-DB] switch and while
Emiliano Boragina wrote:
> Thanks Arie...
> But I need to do "category1" be the
Emiliano Boragina wrote:
Thanks Arie...
But I need to do "category1" be the ID of my table.
Using this way I have CASE number_ID_table echo string_CATEGORY_FIELD_table,
and will be automatic... Many CASES as ID I having in the database
If the $selectCategory is part of the database query, then
15 40 58 60 02 ///
+ _
De: Arie Nugraha [mailto:dica...@gmail.com]
Enviado el: Viernes, 28 de Agosto de 2009 03:13 a.m.
Para: Emiliano Boragina
Asunto: Re: [PHP-DB] switch and while
You have wrong syntax there :
The switch construct is working lik