HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   make this work please (http://www.howtoforge.com/forums/showthread.php?t=30719)

peacengell 28th January 2009 15:27

make this work please
 
hi need some help here to make things work for me
here you go
i have a dtabase name stock :
1. table: phones
fields: id, make, model, imei
2.table:quantity
fields: id,qty
when i add the following data to the phones table(nokia'6300'123456789012345)
i want that the table qty update by one each time you add the imei number ...
i get confuse and it don't realy work
i need help to modell the database and to use the wright sql syntax to get it work if somebody can help me with this thanks i be very happy thanks i hope i spend loads of hours of searching,tries and i could get it work
i don't understand what wrong with me ???thanks for help

topdog 29th January 2009 07:27

Which database are you using ? And what is the version ?

channerhewitt 4th February 2009 07:55

what programming script are you using? for your database too?


All times are GMT +2. The time now is 19:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.