Bug #894: php does not like sybase tinyint
| From: | mallsop at ind dot net | Date: | Tue, 03 Nov 1998 22:12:16 +0000 |
| Subject: | Bug #894: php does not like sybase tinyint | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2173@lists.php.net to get a copy of this message | ||
From: mallsop@ind.net
Operating system: Solaris 2.5.1
PHP version: 3.0.5
PHP Bug Type: Sybase related
Bug description: php does not like sybase tinyint
How the bug unfolded:
I retrieved the $monthnum from a sybase query. $monthnum is a sybase tiny integer.
I then wanted to concatenate it to create a date and display it (see below).
$monthdate = $monthnum."/".$monthday."/".$monthyear;
echo $monthdate;
Php kept throwing in a line break <br> and chopping off everything after $monthnum
I changed the tinyint to an integer (in sybase) and that fixed it.
In summary: php does not like sybase tinyint
I hope this helps.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net