You are here: select value in a table « PHP Programming Language « IT news, forums, messages
select value in a table

Posted by Bob Bedford on 10/08/07 13:15

HI all,

in my sql table I've a list of colors: white, blue, green.....
table colors
idcolor, coloname
1, white
2, blue
3, green.....

I've some programs sending colors for some material, but I don't want to use
them, I'd like to use my values:

example:
program gives 'dark blue' then I'd like to select blue in my table and
return 2...
how to do so ?

Thanks for replying.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация