You are here: Re: PHP and ceckboxes « PHP Programming Language « IT news, forums, messages
Re: PHP and ceckboxes

Posted by Jerry Stuckle on 10/02/68 11:46

Meena wrote:
> Dear All, i have a db table that contains 1s and 0s and i need to show
> back these values with checkboxes, ex: if i have a table called t1 that
> contains c1 c2 and c3 and all have values of 1, now i need to display 3
> checkboxes which will be checked because the values in the db is 1. if
> any of the values is 0 then i shall display the associated checkbox as
> unchecked, i now i can do that by simply checking the returned value
> from the database by an if statement, but i need a smarter way, plz
> reply back with explanation cz i'm just a beginner thnx
>

What have you tried so far?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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