php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19273 $<number> becomes null
Submitted: 2002-09-06 23:45 UTC Modified: 2002-09-07 03:36 UTC
From: asif at evoknow dot com Assigned:
Status: Not a bug Package: Strings related
PHP Version: 4.2.3 OS: win 2k
Private report: No CVE-ID: None
 [2002-09-06 23:45 UTC] asif at evoknow dot com
When I try to publish some String by taking it via text area from user, if the user writes "$500", when I publish it in the next page it shows "00". That means it nullifies $5. It treats $5 as null.  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-06 23:58 UTC] weixian_shen at hotmail dot com
USE SINGLE QUOTE! like this '$500'
 [2002-09-07 00:06 UTC] asif at evoknow dot com
That was not a solution. U din understand the problem. even if I read from database(MySQL) in my case, and if there is a String that contains "$5000", it automatically converts it to "00". Should that happen? It somehow parses $ followed by a number in a wrong way. I think I could describe the prob in a better way this time
 [2002-09-07 03:36 UTC] sander@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 03 20:01:29 2024 UTC