On 5/1/05, Gordon Stewart <[EMAIL PROTECTED]> wrote:
> Problem with syntax :-

> PHP Code:
> $query = "SELECT * FROM BusNZ WHERE Unique='$matches[1]'";
> 

it should be :-

SELECT * FROM `BusNZ` WHERE `Unique`=$matches[2]

Me thinks I should use the online MYSQL system more -It tells me the
syntax to use (sometimes) :)

-- 

G Stewart
NZ: [EMAIL PROTECTED]
NZ Bus Website update form
http://busnz.kwister.com/feedback.php


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to