Skip to Content.
Sympa Menu

freetds - Boolean problem with 7.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Rodolphe Ode" <rodolphe.ode AT eolas.fr>
  • To: <freetds AT franklin.oit.unc.edu>
  • Subject: Boolean problem with 7.0
  • Date: Fri, 30 Mar 2001 11:10:27 +0200

Hi and thanx for your answer that helped me a lot (it works with large VARCHARS). I have a new problem that didn't appear with FreeTDS 4.2
This problem is related to booleans, when I try to retrieve a value that is in a boolean field from PHP (4.04).
 
 
example :
<?php echo $row[BOOLEAN_COLONN]; ?> 
............... does my server down
 
<?php if ($row[BOOLEAN_COLONN]) {echo "true"; } else {echo false;} ?>
.............. always write 'true'
 
thanks for help
 
 
Rodolphe Ode



Archive powered by MHonArc 2.6.24.

Top of Page