About 30,527 results: "php array_map"
Page 1 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On








  1. as$m){if($m[1]){if($m[1][6])$Ie=true;$c[]=($xg?"  ":"ADD ").implode($m[1]);if($m[0]!="")$ne[$m[0]]=$m[1][0];}}if($xg){if($P!=""){queries("BEGIN");foreach(foreign_keys($P)as$o){$f=array();foreach($o["source"]as$e){if(!$ne[$e])continue
  2. 2;$f[]=$ne[$e];}$rc[]="  FOREIGN KEY (".implode(", ",$f).") REFERENCES ".table($o["table"])." (".implode(", ",array_map('idf_escape',$o["target"])).") ON DELETE $o[on_delete] ON UPDATE $o[on_update]";}$u=array();foreach(indexes($P)as$cd=>$t){$f=array();foreach($t["columns"]as$e){if(!$ne[$e])continue
  3. 2;$f[]=$ne[$e];}$f="(".implode(", ",$f).")";if($t["type"]!="PRIMARY")$u[]=array($t["type"],$cd,$f);elseif(!$Ie)$rc[]="  PRIMARY KEY $f";}}$c=array_merge($c,$rc);if(!queries("CREATE TABLE ".table($P!=""?"adminer_$A":$A)." (\n".implode(",\n",$c)."\n)"))return
  4. false;if($P!=""){if($ne&&!queries("INSERT INTO ".table("adminer_$A")." (".implode(", ",$ne).") SELECT ".implode(", ",array_map('idf_escape',array_keys($ne)))." FROM ".table($P)))return
  5. AND contype = 'f'::char
  6. ORDER BY conkey, conname")as$I){if(preg_match('~FOREIGN KEY\s*\((.+)\)\s*REFERENCES (.+)\((.+)\)(.*)$~iA',$I['definition'],$_)){$I['source']=array_map('trim',explode(',',$_[1]));$I['table']=$_[2];if(preg_match('~(.+)\.(.+)~',$_[2],$ud)){$I['ns']=$ud[1];$I['table']=$ud[2];}$I['target']=array_map('trim',explode(',',$_[3]));$I['on_delete']=(preg_match("~ON DELETE ($Xd)~",$_[4],$ud)?$ud[1]:'NO ACTION');$I['on_update']=(preg_match("~ON UPDATE ($Xd)~",$_[4],$ud)?$ud[1]:'NO ACTION');$H[$I['conname']]=$I;}}return$H;}function
  7. truncate_tables($R){return
  8. queries("TRUNCATE ".implode(", ",array_map('table',$R)));return
  9. drop_views($Eg){return
  10. queries("DROP VIEW ".implode(", ",array_map('table',$Eg)));}function
  11. drop_tables($R){return
  12. drop_views($Eg){return
  13. queries("DROP VIEW ".implode(", ",array_map('table',$Eg)));}function
  14. drop_tables($R){return
  15. truncate_sql($P).";\n";if($_POST["format"]=="sql")$n=fields($P);$G=$h->query($F,1);if($G){$Tc="";$Na="";$dd=array();$Ff="";while($I=$G->fetch_row()){if(!$dd){$Ag=array();foreach($I
  16. as$X){$m=$G->fetch_field();$dd[]=$m->name;$w=idf_escape($m->name);$Ag[]="$w = VALUES($w)";}$Ff=($O=="INSERT+UPDATE"?"\nON DUPLICATE KEY UPDATE ".implode(", ",$Ag):"").";\n";}if($_POST["format"]!="sql"){if($O=="table"){dump_csv($dd);$O="INSERT";}dump_csv($I);}else{if(!$Tc)$Tc="INSERT INTO ".table($P)." (".implode(", ",array_map('idf_escape',$dd)).") VALUES";foreach($I

  1. as$m){if($m[1]){if($m[1][6])$He=true;$c[]=($xg?"  ":"ADD ").implode($m[1]);if($m[0]!="")$me[$m[0]]=$m[1][0];}}if($xg){if($O!=""){queries("BEGIN");foreach(foreign_keys($O)as$o){$f=array();foreach($o["source"]as$e){if(!$me[$e])continue
  2. 2;$f[]=$me[$e];}$qc[]="  FOREIGN KEY (".implode(", ",$f).") REFERENCES ".table($o["table"])." (".implode(", ",array_map('idf_escape',$o["target"])).") ON DELETE $o[on_delete] ON UPDATE $o[on_update]";}$u=array();foreach(indexes($O)as$bd=>$t){$f=array();foreach($t["columns"]as$e){if(!$me[$e])continue
  3. 2;$f[]=$me[$e];}$f="(".implode(", ",$f).")";if($t["type"]!="PRIMARY")$u[]=array($t["type"],$bd,$f);elseif(!$He)$qc[]="  PRIMARY KEY $f";}}$c=array_merge($c,$qc);if(!queries("CREATE TABLE ".table($O!=""?"adminer_$A":$A)." (\n".implode(",\n",$c)."\n)"))return
  4. false;if($O!=""){if($me&&!queries("INSERT INTO ".table("adminer_$A")." (".implode(", ",$me).") SELECT ".implode(", ",array_map('idf_escape',array_keys($me)))." FROM ".table($O)))return
  5. AND contype = 'f'::char
  6. ORDER BY conkey, conname")as$I){if(preg_match('~FOREIGN KEY\s*\((.+)\)\s*REFERENCES (.+)\((.+)\)(.*)$~iA',$I['definition'],$_)){$I['source']=array_map('trim',explode(',',$_[1]));$I['table']=$_[2];if(preg_match('~(.+)\.(.+)~',$_[2],$td)){$I['ns']=$td[1];$I['table']=$td[2];}$I['target']=array_map('trim',explode(',',$_[3]));$I['on_delete']=(preg_match("~ON DELETE ($Wd)~",$_[4],$td)?$td[1]:'NO ACTION');$I['on_update']=(preg_match("~ON UPDATE ($Wd)~",$_[4],$td)?$td[1]:'NO ACTION');$H[$I['conname']]=$I;}}return$H;}function
  7. drop_views($Y){return
  8. queries("DROP VIEW ".implode(", ",array_map('table',$Y)));}function
  9. drop_tables($Q){return
  10. queries("DROP TABLE ".implode(", ",array_map('table',$Q)));}function
  11. drop_views($Y){return
  12. queries("DROP VIEW ".implode(", ",array_map('table',$Y)));}function
  13. drop_tables($Q){return
  14. queries("DROP TABLE ".implode(", ",array_map('table',$Q)));}function
  15. truncate_sql($O).";\n";if($_POST["format"]=="sql")$n=fields($O);$G=$h->query($F,1);if($G){$Sc="";$Na="";$cd=array();$Ff="";while($I=$G->fetch_row()){if(!$cd){$Ag=array();foreach($I
  16. as$W){$m=$G->fetch_field();$cd[]=$m->name;$w=idf_escape($m->name);$Ag[]="$w = VALUES($w)";}$Ff=($Df=="INSERT+UPDATE"?"\nON DUPLICATE KEY UPDATE ".implode(", ",$Ag):"").";\n";}if($_POST["format"]!="sql"){if($Df=="table"){dump_csv($cd);$Df="INSERT";}dump_csv($I);}else{if(!$Sc)$Sc="INSERT INTO ".table($O)." (".implode(", ",array_map('idf_escape',$cd)).") VALUES";foreach($I



  1. drop_views($Y){return
  2. queries("DROP VIEW ".implode(", ",array_map('table',$Y)));}function
  3. drop_tables($P){return
  4. queries("DROP TABLE ".implode(", ",array_map('table',$P)));}function
  5. drop_views($Y){return
  6. queries("DROP VIEW ".implode(", ",array_map('table',$Y)));}function
  7. drop_tables($P){return
  8. selectSearchProcess($m,$t){global$u;$F=array();foreach($t
  9. as$p=>$s){if($s["type"]=="FULLTEXT"&&$_GET["fulltext"][$p]!="")$F[]="MATCH (".implode(", ",array_map('idf_escape',$s["columns"])).") AGAINST (".q($_GET["fulltext"][$p]).(isset($_GET["boolean"][$p])?" IN BOOLEAN MODE":"").")";}foreach((array)$_GET["where"]as$W){if("$W[col]$W[val]"!=""&&in_array($W["op"],$this->operators)){$Za=" $W[op]";if(ereg('IN$',$W["op"])){$Cc=process_length($W["val"]);$Za.=" (".($Cc!=""?$Cc:"NULL").")";}elseif(!$W["op"])$Za.=$W["val"];elseif($W["op"]=="LIKE %%")$Za=" LIKE ".$this->processInput($m[$W["col"]],"%$W[val]%");elseif(!ereg('NULL$',$W["op"]))$Za.=" ".$this->processInput($m[$W["col"]],$W["val"]);if($W["col"]!="")$F[]=idf_escape($W["col"]).$Za;else{$Ta=array();foreach($m
  10. dumpData($N,$M,$D){global$g,$u;$id=($u=="sqlite"?0:1048576);if($M){if($_POST["format"]=="sql"&&$M=="TRUNCATE+INSERT")echo
  11. truncate_sql($N).";\n";if($_POST["format"]=="sql")$m=fields($N);$E=$g->query($D,1);if($E){$Jc="";$Ja="";while($G=$E->fetch_assoc()){if($_POST["format"]!="sql"){if($M=="table"){dump_csv(array_keys($G));$M="INSERT";}dump_csv($G);}else{if(!$Jc)$Jc="INSERT INTO ".table($N)." (".implode(", ",array_map('idf_escape',array_keys($G))).") VALUES";foreach($G
  12. long2str($V,true);}$g='';$Q=$_SESSION["token"];if(!$_SESSION["token"])$_SESSION["token"]=rand(1,1e6);$ke=array();if($_COOKIE["adminer_permanent"]){foreach(explode(" ",$_COOKIE["adminer_permanent"])as$W){list($v)=explode(":",$W);$ke[$v]=$W;}}$_a=$_POST["auth"];if($_a){session_regenerate_id();$_SESSION["pwds"][$_a["driver"]][$_a["server"]][$_a["username"]]=$_a["password"];if($_a["permanent"]){$v=base64_encode($_a["driver"])."-".base64_encode($_a["server"])."-".base64_encode($_a["username"]);$ue=$b->permanentLogin();$ke[$v]="$v:".base64_encode($ue?encrypt_string($_a["password"],$ue):"");cookie("adminer_permanent",implode(" ",$ke));}if(count($_POST)==1||DRIVER!=$_a["driver"]||SERVER!=$_a["server"]||$_GET["username"]!==$_a["username"]||DB!=$_a["db"])redirect(auth_url($_a["driver"],$_a["server"],$_a["username"],$_a["db"]));}elseif($_POST["logout"]){if($Q&&$_POST["token"]!=$Q){page_header(lang(55),lang(61));page_footer("db");exit;}else{foreach(array("pwds","dbs","queries")as$v)set_session($v,null);$v=base64_encode(DRIVER)."-".base64_encode(SERVER)."-".base64_encode($_GET["username"]);if($ke[$v]){unset($ke[$v]);cookie("adminer_permanent",implode(" ",$ke));}redirect(substr(preg_replace('~(username|db|ns)=[^&]*&~','',ME),0,-1),lang(62));}}elseif($ke&&!$_SESSION["pwds"]){session_regenerate_id();$ue=$b->permanentLogin();foreach($ke
  13. as$v=>$W){list(,$Pa)=explode(":",$W);list($vb,$J,$U)=array_map('base64_decode',explode("-",$v));$_SESSION["pwds"][$vb][$J][$U]=decrypt_string(base64_decode($Pa),$ue);}}function
  14. as$_=>$s){ksort($s["columns"]);$te=array();foreach($s["columns"]as$v=>$W)$te[]="<i>".h($W)."</i>".($s["lengths"][$v]?"(".$s["lengths"][$v].")":"");echo"<tr title='".h($_)."'><th>$s[type]<td>".implode(", ",$te)."\n";}echo"</table>\n";}echo'<p><a href="'.h(ME).'indexes='.urlencode($a).'">'.lang(105)."</a>\n";if(fk_support($O)){echo"<h3>".lang(86)."</h3>\n";$jc=foreign_keys($a);if($jc){echo"<table cellspacing='0'>\n","<thead><tr><th>".lang(106)."<td>".lang(107)."<td>".lang(88)."<td>".lang(108).($u!="sqlite"?"<td>&nbsp;":"")."</thead>\n";foreach($jc
  15. as$_=>$n){echo"<tr title='".h($_)."'>","<th><i>".implode("</i>, <i>",array_map('h',$n["source"]))."</i>","<td><a href='".h($n["db"]!=""?preg_replace('~db=[^&]*~',"db=".urlencode($n["db"]),ME):($n["ns"]!=""?preg_replace('~ns=[^&]*~',"ns=".urlencode($n["ns"]),ME):ME))."table=".urlencode($n["table"])."'>".($n["db"]!=""?"<b>".h($n["db"])."</b>.":"").($n["ns"]!=""?"<b>".h($n["ns"])."</b>.":"").h($n["table"])."</a>","(<i>".implode("</i>, <i>",array_map('h',$n["target"]))."</i>)","<td>".nbsp($n["on_delete"])."\n","<td>".nbsp($n["on_update"])."\n";if($u!="sqlite")echo'<td><a href="'.h(ME.'foreign='.urlencode($a).'&name='.urlencode($_)).'">'.lang(109).'</a>';}echo"</table>\n";}if($u!="sqlite")echo'<p><a href="'.h(ME).'foreign='.urlencode($a).'">'.lang(110)."</a>\n";}if(support("trigger")){echo"<h3>".lang(111)."</h3>\n";$Of=triggers($a);if($Of){echo"<table cellspacing='0'>\n";foreach($Of




  1. foreign_keys($S){global$f,$sd;static$F='`(?:[^`]|``)+`';$J=array();$ab=$f->result("SHOW CREATE TABLE ".table($S),1);if($ab){preg_match_all("~CONSTRAINT ($F) FOREIGN KEY \\(((?:$F,? ?)+)\\) REFERENCES ($F)(?:\\.($F))? \\(((?:$F,? ?)+)\\)(?: ON DELETE ($sd))?(?: ON UPDATE ($sd))?~",$ab,$Rc,PREG_SET_ORDER);foreach($Rc
  2. as$B){preg_match_all("~$F~",$B[2],$Ie);preg_match_all("~$F~",$B[5],$ef);$J[idf_unescape($B[1])]=array("db"=>idf_unescape($B[4]!=""?$B[3]:$B[4]),"table"=>idf_unescape($B[4]!=""?$B[4]:$B[3]),"source"=>array_map('idf_unescape',$Ie[0]),"target"=>array_map('idf_unescape',$ef[0]),"on_delete"=>($B[6]?$B[6]:"RESTRICT"),"on_update"=>($B[7]?$B[7]:"RESTRICT"),);}}return$J;}function
  3. drop_views($Mf){return
  4. queries("DROP VIEW ".implode(", ",array_map('table',$Mf)));}function
  5. drop_tables($bf){return
  6. queries("DROP TABLE ".implode(", ",array_map('table',$bf)));}function
  7. selectSearchPrint($Z,$e,$v){print_fieldset("search",'Search',$Z);foreach($v
  8. as$s=>$u){if($u["type"]=="FULLTEXT"){echo"(<i>".implode("</i>, <i>",array_map('h',$u["columns"]))."</i>) AGAINST"," <input name='fulltext[$s]' value='".h($_GET["fulltext"][$s])."' onchange='selectFieldChange(this.form);'>",checkbox("boolean[$s]",1,isset($_GET["boolean"][$s]),"BOOL"),"<br>\n";}}$_GET["where"]=(array)$_GET["where"];reset($_GET["where"]);$Ea="this.nextSibling.onchange();";for($s=0;$s<=count($_GET["where"]);$s++){list(,$X)=each($_GET["where"]);if(!$X||("$X[col]$X[val]"!=""&&in_array($X["op"],$this->operators))){echo"<div><select name='where[$s][col]' onchange='$Ea'><option value=''>(".'anywhere'.")".optionlist($e,$X["col"],true)."</select>",html_select("where[$s][op]",$this->operators,$X["op"],$Ea),"<input name='where[$s][val]' value='".h($X["val"])."' onchange='".($X?"selectFieldChange(this.form)":"selectAddRow(this)").";'></div>\n";}}echo"</div></fieldset>\n";}function
  9. selectSearchProcess($l,$v){global$x;$J=array();foreach($v
  10. as$s=>$u){if($u["type"]=="FULLTEXT"&&$_GET["fulltext"][$s]!="")$J[]="MATCH (".implode(", ",array_map('idf_escape',$u["columns"])).") AGAINST (".q($_GET["fulltext"][$s]).(isset($_GET["boolean"][$s])?" IN BOOLEAN MODE":"").")";}foreach((array)$_GET["where"]as$X){if("$X[col]$X[val]"!=""&&in_array($X["op"],$this->operators)){$Ta=" $X[op]";if(ereg('IN$',$X["op"])){$sc=process_length($X["val"]);$Ta.=" (".($sc!=""?$sc:"NULL").")";}elseif(!$X["op"])$Ta.=$X["val"];elseif($X["op"]=="LIKE %%")$Ta=" LIKE ".$this->processInput($l[$X["col"]],"%$X[val]%");elseif(!ereg('NULL$',$X["op"]))$Ta.=" ".$this->processInput($l[$X["col"]],$X["val"]);if($X["col"]!="")$J[]=idf_escape($X["col"]).$Ta;else{$Ma=array();foreach($l
  11. long2str($W,true);}$f='';$U=$_SESSION["token"];if(!$_SESSION["token"])$_SESSION["token"]=rand(1,1e6);$Sd=array();if($_COOKIE["adminer_permanent"]){foreach(explode(" ",$_COOKIE["adminer_permanent"])as$X){list($y)=explode(":",$X);$Sd[$y]=$X;}}$c=$_POST["auth"];if($c){session_regenerate_id();$_SESSION["pwds"][$c["driver"]][$c["server"]][$c["username"]]=$c["password"];if($c["permanent"]){$y=base64_encode($c["driver"])."-".base64_encode($c["server"])."-".base64_encode($c["username"]);$ce=$b->permanentLogin();$Sd[$y]="$y:".base64_encode($ce?encrypt_string($c["password"],$ce):"");cookie("adminer_permanent",implode(" ",$Sd));}if(count($_POST)==1||DRIVER!=$c["driver"]||SERVER!=$c["server"]||$_GET["username"]!==$c["username"]||DB!=$c["db"])redirect(auth_url($c["driver"],$c["server"],$c["username"],$c["db"]));}elseif($_POST["logout"]){if($U&&$_POST["token"]!=$U){page_header('Logout','Invalid CSRF token. Send the form again.');page_footer("db");exit;}else{foreach(array("pwds","dbs","queries")as$y)set_session($y,null);$y=base64_encode(DRIVER)."-".base64_encode(SERVER)."-".base64_encode($_GET["username"]);if($Sd[$y]){unset($Sd[$y]);cookie("adminer_permanent",implode(" ",$Sd));}redirect(substr(preg_replace('~(username|db|ns)=[^&]*&~','',ME),0,-1),'Logout successful.');}}elseif($Sd&&!$_SESSION["pwds"]){session_regenerate_id();$ce=$b->permanentLogin();foreach($Sd
  12. as$y=>$X){list(,$Ia)=explode(":",$X);list($pb,$O,$If)=array_map('base64_decode',explode("-",$y));$_SESSION["pwds"][$pb][$O][$If]=decrypt_string(base64_decode($Ia),$ce);}}function
  13. ';}elseif(isset($_GET["select"])){$a=$_GET["select"];$T=table_status($a);$v=indexes($a);$l=fields($a);$n=column_foreign_keys($a);if($T["Oid"]=="t")$v[]=array("type"=>"PRIMARY","columns"=>array("oid"));parse_str($_COOKIE["adminer_import"],$la);$ue=array();$e=array();$hf=null;foreach($l
  14. as$y=>$k){$D=$b->fieldName($k);if(isset($k["privileges"]["select"])&&$D!=""){$e[$y]=html_entity_decode(strip_tags($D));if(ereg('text|lob',$k["type"]))$hf=$b->selectLengthProcess();}$ue+=$k["privileges"];}list($N,$hc)=$b->selectColumnsProcess($e,$v);$Z=$b->selectSearchProcess($l,$v);$zd=$b->selectOrderProcess($l,$v);$z=$b->selectLimitProcess();$ec=($N?implode(", ",$N):($T["Oid"]=="t"?"oid, ":"")."*")."\nFROM ".table($a);$ic=($hc&&count($hc)<count($N)?"\nGROUP BY ".implode(", ",$hc):"").($zd?"\nORDER BY ".implode(", ",$zd):"");if($_GET["val"]&&is_ajax()){header("Content-Type: text/plain; charset=utf-8");foreach($_GET["val"]as$Bf=>$K)echo$f->result("SELECT".limit(idf_escape(key($K))." FROM ".table($a)," WHERE ".where_check($Bf).($Z?" AND ".implode(" AND ",$Z):"").($zd?" ORDER BY ".implode(", ",$zd):""),1));exit;}if($_POST&&!$j){$Qf="(".implode(") OR (",array_map('where_check',(array)$_POST["check"])).")";$ae=$Df=null;foreach($v
  15. as$y=>$X){echo"<tr>","<th><code class='jush-".$x.($Me?"status":"set")."'>".h($y)."</code>","<td>".nbsp($X);}echo"</table>\n";}}elseif(isset($_GET["script"])){header("Content-Type: text/javascript; charset=utf-8");if($_GET["script"]=="db"){$Ue=array("Data_length"=>0,"Index_length"=>0,"Data_free"=>0);foreach(table_status()as$T){$t=js_escape($T["Name"]);json_row("Comment-$t",nbsp($T["Comment"]));if(!is_view($T)){foreach(array("Engine","Collation")as$y)json_row("$y-$t",nbsp($T[$y]));foreach($Ue+array("Auto_increment"=>0,"Rows"=>0)as$y=>$X){if($T[$y]!=""){$X=number_format($T[$y],0,'.',',');json_row("$y-$t",($y=="Rows"&&$X&&($T["Engine"]=="InnoDB"||$T["Engine"]=="table")?"~ $X":$X));if(isset($Ue[$y]))$Ue[$y]+=($T["Engine"]!="InnoDB"||$y!="Data_free"?$T[$y]:0);}elseif(array_key_exists($y,$T))json_row("$y-$t");}}}foreach($Ue
  16. as$y=>$X)json_row("sum-$y",number_format($X,0,'.',','));json_row("");}else{foreach(count_tables($b->databases())as$i=>$X)json_row("tables-".js_escape($i),$X);json_row("");}exit;}else{$df=array_merge((array)$_POST["tables"],(array)$_POST["views"]);if($df&&!$j&&!$_POST["search"]){$I=true;$Yc="";if($x=="sql"&&count($_POST["tables"])>1&&($_POST["drop"]||$_POST["truncate"]||$_POST["copy"]))queries("SET foreign_key_checks = 0");if($_POST["truncate"]){if($_POST["tables"])$I=truncate_tables($_POST["tables"]);$Yc='Tables have been truncated.';}elseif($_POST["move"]){$I=move_tables((array)$_POST["tables"],(array)$_POST["views"],$_POST["target"]);$Yc='Tables have been moved.';}elseif($_POST["copy"]){$I=copy_tables((array)$_POST["tables"],(array)$_POST["views"],$_POST["target"]);$Yc='Tables have been copied.';}elseif($_POST["drop"]){if($_POST["views"])$I=drop_views($_POST["views"]);if($I&&$_POST["tables"])$I=drop_tables($_POST["tables"]);$Yc='Tables have been dropped.';}elseif($x!="sql"){$I=($x=="sqlite"?queries("VACUUM"):apply_queries("VACUUM".($_POST["optimize"]?"":" ANALYZE"),$_POST["tables"]));$Yc='Tables have been optimized.';}elseif($_POST["tables"]&&($I=queries(($_POST["optimize"]?"OPTIMIZE":($_POST["check"]?"CHECK":($_POST["repair"]?"REPAIR":"ANALYZE")))." TABLE ".implode(", ",array_map('idf_escape',$_POST["tables"]))))){while($K=$I->fetch_assoc())$Yc.="<b>".h($K["Table"])."</b>: ".h($K["Msg_text"])."<br>";}queries_redirect(substr(ME,0,-1),$Yc,$I);}page_header(($_GET["ns"]==""?'Database'.": ".h(DB):'Schema'.": ".h($_GET["ns"])),$j,true);if($b->homepage()){if($_GET["ns"]!==""){echo"<h3>".'Tables and views'."</h3>\n";$cf=tables_list();if(!$cf)echo"<p class='message'>".'No tables.'."\n";else{echo"<form action='' method='post'>\n","<p>".'Search data in tables'.": <input name='query' value='".h($_POST["query"])."'> <input type='submit' name='search' value='".'Search'."'>\n";if($_POST["search"]&&$_POST["query"]!="")search_tables();echo"<table cellspacing='0' class='nowrap checkable' onclick='tableClick(event);'>\n",'<thead><tr class="wrap"><td><input id="check-all" type="checkbox" onclick="formCheck(this, /^(tables|views)\[/);">','<th>'.'Table','<td>'.'Engine','<td>'.'Collation','<td>'.'Data Length','<td>'.'Index Length','<td>'.'Data Free','<td>'.'Auto Increment','<td>'.'Rows',(support("comment")?'<td>'.'Comment':''),"</thead>\n";foreach($cf




Back to Top