Home > Backend Development > PHP Tutorial > PHP如若实现自定义公式

PHP如若实现自定义公式

WBOY
Release: 2016-06-13 12:31:59
Original
1246 people have browsed it

PHP如果实现自定义公式
如题,已用PHP实现把用户自定义($a+$b*2-3*$c)的计算公式存到mysql表中,然后需要计算时,从表中读取公式,但现在读取出来后,无法用这个公式了,被当成字符串了,要怎么处理,变量在公式读取出前已经预设置好了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template