RE: [PHP] conditional within SELECT

2003-10-29 Thread Martin Towell
Keywords) $sql .= " AND MATCH (robeson_inv.specs) AGAINST ('$vKeywords')"; $sql .= " ORDER BY robeson_inv.model"; Martin -Original Message- From: Robb Kerr [mailto:[EMAIL PROTECTED] Sent: Thursday, 30 October 2003 11:59 AM To: [EMAIL PROTECTED] Subje

[PHP] conditional within SELECT

2003-10-29 Thread Robb Kerr
Here's another newbie question. The SELECT statement below gets its values from the URL of the page. When something is entered for "vKeywords" the SELECT works fine and returns the correct records. However, if nothing is entered for "vKeywords" (which should return all records matching the other cr