[FX.php List] 'eq' isn't working

Alex Gates alex at gandrpublishing.com
Thu Jul 19 14:48:54 MDT 2007


Hi everyone - 

I'm in a bit of an urgent mess here - 

 

I realized that this:

 

$lookup->AddDBParam('Category', '"'.$Category.'"', 'eq');

 

Isn't really doing what I intended.

 

If I have 4 categories, for example:

 

Meat

Fruit

Dessert

Dessert Two

 

This:

$lookup->AddDBParam('Category', '"'.$Category.'"', 'eq');

With $Category =Dessert

 

Will bring up all Dessert but also Dessert Two

 

Is there a syntax problem?  This works elsewhere on my site.

 

Any ideas?

 

This: 

$lookup->AddDBParam('Category', $Category, 'eq');

Does the same thing.

 

Alex

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070719/0bd854ce/attachment.html


More information about the FX.php_List mailing list