You are here: Re: data extraction problem « PHP SQL « IT news, forums, messages
Re: data extraction problem

Posted by matt on 10/13/21 11:22

"Ken LE PRADO" <ken@leprado.com> wrote in message
news:42e52c29$0$3103$8fcfb975@news.wanadoo.fr...
> Hi,
>
> Checkboxes does not return TRUE or FALSE values. Please make an echo of
> your value before saving it.
>
> Do this before record it :
>
> <?php
> if (empty($_REQUEST['Administrator_access_read'])) {
> $read = 'FALSE';
> } else {
> $read = 'TRUE';
> }
> ?>
>
> and after, save it in your DB.
>
> after that, you should get the good values at the SELECT query
>

Interesting point. i did not realize that, however, it is saving to the
database correctly. it saves "TRUE" and "FALSE" values. THe problem is
retrieving this data. It's coming back "read" instead of "TRUE"

 

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

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