Maycladvata
New Member
I have one row in my table version that would contain the version of my database so that my android app would check for it. the functions I'm trying to do would increment the row value. It works perfectly on my offline localhost but when i uploaded it it seems to not function. would appreciate any help on what is going wrong. Thanks.\[code\]if(!empty($_GET['update'])){ if($_GET['update'] == 42){ $updatesql="insert into version set version_id=' ' "; $updateqry=mysql_query($updatesql) or die(mysql_error()); if($updateqry){ $deletesql="delete FROM version limit 1"; $deleteqry=mysql_query($deletesql) or die (mysql_error()); header("location:../admin.php"); } } }\[/code\]