note 112448 added to function.substr-replace
| From: | blessador at gmail dot com | Date: | Tue, 18 Jun 2013 08:37:00 +0000 |
| Subject: | note 112448 added to function.substr-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195259@lists.php.net to get a copy of this message | ||
<?php
$price = "12000";
$price = substr_replace ($price, ',', -3, 0)";
?>
ensure to remove the double quot " at the end of substr_replace ($price, ',', -3,
0)" in the above code to avoid error.
----
Server IP: 69.147.83.199
Probable Submitter: 41.58.34.5
----
Manual Page -- http://php.net/manual/en/function.substr-replace.php
Edit -- https://master.php.net/note/edit/112448
Del: integrated -- https://master.php.net/note/delete/112448/integrated
Del: useless -- https://master.php.net/note/delete/112448/useless
Del: bad code -- https://master.php.net/note/delete/112448/bad+code
Del: spam -- https://master.php.net/note/delete/112448/spam
Del: non-english -- https://master.php.net/note/delete/112448/non-english
Del: in docs -- https://master.php.net/note/delete/112448/in+docs
Del: other reasons-- https://master.php.net/note/delete/112448
Reject -- https://master.php.net/note/reject/112448
Search -- https://master.php.net/manage/user-notes.php