i've a question...i want to use a mysql database and connect it to my android app, i wish to connect it and copy on sdcard and so every time that app starts i want to check version of mysql database. how can i check version of mysql database? i can't find anything about this... i connect to database by a php script like this:
<?php
//Connect to database and select it
mysql_connect("127.0.0.1","root","");
mysql_select_db("database");
//query
$sql=mysql_query("SELECT * FROM table");
//put all into an output
while($row=mysql_fetch_assoc($sql))
$output[]=$row;
//print json object
print(json_encode($output));
//close database
mysql_close;
?>