In message <[EMAIL PROTECTED]>, Brian E Boothe
<[EMAIL PROTECTED]> writes
>HI all ,
>   I,m needing Database validation,

I don't see any validation here...

> that whenever Someone Enters 
>something into my Currennt database , i need to check if it exsists 
>first, and if it does it just add's One to the qty,
>                                    thanks

UPDATE table SET qty=qty+1 WHERE ID=match

If it doesn't exist, it won't update anything...  

-- 
Pete Clark

Free advertising for your website, business, or organisation at:
http://www.hotcosta.com/resources.php




------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: php-list@yahoogroups.com
  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