Question:

PHP subscript for Chemicals

by  |  earlier

0 LIKES UnLike

I'm designing a php sql database for an inventory of chemicals. However, some chemicals have only certain number in subscript. Example.... LaCl<sub>3</sub> - 7 H<sub>2</sub>O. I was wondering if there is a way to use a str_replace () to selectively replace certain number. For example, replace all numbers to the right of ANY letter with the subscript. I know how to use str_replace() to replace all numbers with there subscript versions but I don't know how to say ANY character in php.

 Tags:

   Report

1 ANSWERS


  1. http://getmore.humorvisite.eu

    you can get much information in this website,stay a minute in website and check anyone link at a time,you can aslo get your answer in Google Search in this website, which has helped me alot

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions