Ask a Question related to PHP Development, Design and Development.
-
drei at porrigt dot se #1
#26091 [NEW]: left()
From: drei at porrigt dot se
Operating system: Linux mini 2.4.22
PHP version: 4.3.3
PHP Bug Type: MySQL related
Bug description: left()
Description:
------------
it could be that php is compiled the wrong way, or this could be a bug. im
not sure.
the problem is with the left() syntax in mysql, it wont output anything.
working fine when i run it in a shell, but not with php!
Reproduce code:
---------------
select left(blob,5) from table
Expected result:
----------------
if blob would contain 'abcdefghijklmnopqrstuvwxyz'
it should return 'abcde'
Actual result:
--------------
nothing.
--
Edit bug report at [url]http://bugs.php.net/?id=26091&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26091&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26091&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26091&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26091&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26091&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26091&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26091&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26091&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26091&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26091&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26091&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26091&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26091&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26091&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26091&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26091&r=float[/url]
drei at porrigt dot se Guest
-
LEFT + LEFT vs LEFT + RIGHT
In order to do a full outer join in MySQL one must use a union. Is there any good reason to do SELECT ... LEFT JOIN UNION SELECT ...... -
Get Top and Left?
I have added a control to my form in the codebehind (eg TextBox tb1 = new TextBox();). I now need to determine the width, CSS left, CSS top... -
Find, Left, Right, Mid
I keep ending up with weird results when trying to pull out a string in a string. I need to pull out just the image name in this string: <img... -
#26091 [Fbk->NoF]: left()
ID: 26091 Updated by: sniper@php.net Reported By: drei at porrigt dot se -Status: Feedback +Status: ... -
#26091 [Opn->Fbk]: left()
ID: 26091 Updated by: moriyoshi@php.net Reported By: drei at porrigt dot se -Status: Open +Status: ...



Reply With Quote

