http://51strive.com/
<! DOCTYPE html>
<meta charset= "UTF-8" >
<title> Online Mysql Conversion JSON string </title>
<body>
<a href= "HTTPS://GITHUB.COM/ONEFISHUM/XMPPHP-FOR-PHP7" target= "_blank" >xmpphp-0.1rc2-r77 for php7</a> <P>
Mysql output Format:<br>
Mysql> SELECT * from demo_test;<br>
<pre>
+-----+--------------+------+------+------+
| C1 | C2 | C3 | C4 | c5 |
+-----+--------------+------+------+------+
| A11 | 123456789 | 10 | 1 | 0 |
| AA | Hello, hello | 8 | 0 | 0 |
+-----+--------------+------+------+------+
</pre>
<P>
<div style= "Courier New" >
<form name= ' Msyql2json ' action= "method=" post "accept-charset=" Utf-8 ">
<input type= "Submit" name= "Submit" value= "commit" onclick= "Checkvalid ()" >
<P>
<textarea id= "strdata" name= ' text ' style= "width:800px;height:320px;" >
</textarea><br>
</div>
</form>
<p>
JSON string:<p>
Null<div style= "Display:none" > <a href= "http://www.art-zys.com" ></a></div>
<script>
var _hmt = _HMT | | [];
(function () {
var HM = document.createelement ("script");
HM.SRC = "//hm.baidu.com/hm.js?e8bbc4c2aa86f142f8c62acd306e2497";
var s = document.getelementsbytagname ("script") [0];
S.parentnode.insertbefore (hm, s);
})();
</script>
<script language= "JavaScript" >
function Checkvalid ()
{
var tex = document.getElementById ("Strdata");
if (Tex.value.length > 16384)
{
Alert ("Enter no more than 16,384 characters!") Has exceeded "+number (tex.value.length-16384)");
return false;
}
return true;
}
</script>
</body>
MySQL conversion json