-1
<?php
$str = "INSERT INTO `f_part` (lname,fname,email) VALUES ('tha','thia','[email protected]')";
?>
任何人都可以帮我把这个字符串转换为数组转换SQL查询字符串数组格式
$result = array('table'=>'f_part',
'data'=>array('lname=>'tha','fname=>'thia','email'=>'[email protected]')
)
[?你尝试过什么(http://www.whathaveyoutried.com) – h2ooooooo
你的意思另一种方式?将查询字符串转换为数组没有意义吗? – JvdBerg
StackOverflow!= [Google](http://www.google.com/search?q=php+sql+parser) – DaveRandom