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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: asif at evoknow dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 11:01:23 2019 UTC