Date: 12/16/00
- Next message: Alain : "[PHP] NM [PHP] More values than I want !(php->mysql query)"
- Previous message: Alain \: "[PHP] More values than I want !(php->mysql query)"
- In reply to: Alain \: "[PHP] More values than I want !(php->mysql query)"
- Next in thread: Alain : "[PHP] NM [PHP] More values than I want !(php->mysql query)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I replaced the "isset's" with :
if ($Categorie !="")
{
$query .= " AND cybgoods.Gcat = $Categorie";
$query .= " AND categorie.cat_id = $Categorie";
}
if ($materiel !="")
{
$query .= " AND cybgoods.Pcat = $materiel";
$query .= " AND materiel.mat_id = $materiel";
}
But that is still not working :/
The "Loop" happens whether I enter these Values or Not !
IE If I'm looking for a type of Chair, it will return me all the Chair
types (OK), but will put them in all categories as well ! (Cars, games,
books)...
Al
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Alain : "[PHP] NM [PHP] More values than I want !(php->mysql query)"
- Previous message: Alain \: "[PHP] More values than I want !(php->mysql query)"
- In reply to: Alain \: "[PHP] More values than I want !(php->mysql query)"
- Next in thread: Alain : "[PHP] NM [PHP] More values than I want !(php->mysql query)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

