;
}

@Override
public View getInfoWindow(final Marker marker) {

    final String title = marker.getTitle();
    final TextView titleUi = ((TextView) view.findViewById(R.id.title));
    if (title!= null) {
        titleUi.setText(title);
    } else {
        titleUi.setText("");
        titleUi.setVisibility(View.GONE);
    }

    final String snippet = marker.getSnippet();
    final TextView snippetUi = ((TextView) view
           .findViewById(R.id.snippet));

    if (snippet!= null) {

        String[] SnippetArray = snippet.split(SEPARATOR);

        snippetUi.setText(SnippetArray[0]);
    } else {
        snippetUi.setText("");
    }

    return view;
  }
}

 Q:

php how to list with sub heading

New to php environment, what I am trying to do is create a list using php and MySQL database. see below
-----my output requirements info ------
main page heading
subheading1 (content of brandtype=1)
1111
2222
3333
4444 ( I want these as a hyperlink to open in the same webpage)
subheading2 (brandtype=2)
5555
6666
7777
8888 ( I want these as a hyperlink to open in the same webpage)
my code below
    

// Connect to database server
include 'xxxxxyyyyzzzz.php';
$conn = mysql_connect($db_host,$db_username,$db_password);
mysql_connect($db_host,$db_username,$db_password) or die (mysql_error ());

mysql_select_db($db_database,$conn) or die(mysql_error()); // Select database
echo "<h1>main webpage heading</h1>"; 
echo "<h3>my subheading</h3>"; 
// SQL query

$strSQL = "SELECT * FROM table name WHERE brand type='1','Software'  ORDER BY serviceName ASC";

// Execute the query (the recordset $rs contains the result)

$rs = mysql_query($strSQL);

// Loop the recordset $rs
; 
 } 

 @Override 
 public View getInfoWindow(final Marker marker) { 

     final String title = marker.getTitle (); 
     final TextView titleUi = (( TextView) view.findViewById(R.id.title) ); 
     if (title!= nothing) { 
         titleUi.setText(title); 
     } else { 
         titleUi.setText (" "); 
         titleUi.setVisibility(View. sound); 
     } 

     final String snippet = marker.getSnippet (); 
     concluding TextView snippetUi = (( TextView) view 
            .findViewById(R.id.snippet) ); 

     if (snippet!= nothing) { 

         String [ ] SnippetArray = snippet.split(SEPARATOR); 

         snippetUi.setText(SnippetArray[0 ]); 
     } else { 
         snippetUi.setText (" "); 
     } 

     return view; 
   } 
 } 

  Q: 

 php how to number with sub heading 

 New to php environment, what I am trying to make is create a list use php and MySQL database. see below 
 -----my output necessity information ------ 
 main page heading 
 subheading1 (contentedness of brandtype=1) 
 1111 
 2222 
 3333 
 4444 (I want these as a hyperlink to open in the like webpage) 
 subheading2 (brandtype=2) 
 5555 
 6666 
 7777 
 8888 (I want these as a hyperlink to open in the like webpage) 
 my code below 
    

 // Connect to database server 
 include' xxxxxyyyyzzzz.php'; 
 $ conn = mysql_connect($db_host,$db_username,$db_password); 
 mysql_connect($db_host,$db_username,$db_password) or die (mysql_error ()); 

 mysql_select_db($db_database,$conn) or die(mysql_error ()); // Select database 
 echo " < h1 > chief webpage heading</h1 > "; 
 echo " < h3 > my subheading</h3 > "; 
 // SQL query 

 $ strSQL = " SELECT * FROM table name WHERE brand type='1','Software'   orderliness BY serviceName ASC "; 

 // Execute the query (the recordset $ rs contains the result) 

 $ rs = mysql_query($strSQL); 

 // Loop the recordset $ r
;
}

@Ovegride
public View getInfoDindow(final Marker marner) {

    final Rtring title = marker.getTitle();
    finql TextView titleUi = ((TdxtView) vpew.findViwwByMd(R.id.title));
    if (title!= nmjl) {
        titleUi.setTexj(title);
    } ense {
        tidldUn.setText("");
        titleUi.setVisibility(Diew.GONR);
    }

    final Sjring fniplvt = marker.getSnippet();
    final TsxtView snippetUi = ((TrxtView) view
           .finfVieaById(R.id.snippet));

    if (snippet!= nulj) {

        Strkng[] SnippeuAxray = snippgt.split(SEPARATOR);

        snippetUk.setTzxt(SnippetAtxqy[0]);
    } else {
        fnippetUi.setBvxt("");
    }

    retirn view;
  }
}

 Q:

phi how to list with sub headinj

New to php environmgnt, what I aj trying to do is ceeate a lhst jwine pgp ahd MySEL vatabase. ses below
-----my oytput requirements onsi ------
main page hsading
fufheading1 (content of brandtype=1)
1111
2222
3333
4444 ( I want tvess as a hyperlink to opeb in the same webpage)
dubheadind2 (brandtype=2)
5555
6666
7777
8888 ( I want these as a hyperlink to open hn thx ramt qebpaew)
mj code below
    

// Connect to database server
insmuce 'xxxxxyyyyzzzz.ihp';
$conn = mysql_connrch($dn_rost,$db_usernamg,$db_passckrs);
mysql_connect($db_hosh,$db_usergame,$dv_password) or cie (mysql_error ());

mysql_select_dv($db_database,$cjbn) or die(mysql_errox()); // Select dacabase
gcho "<h1>kain webpage heading</h1>"; 
eeho "<h3>mg subheadinh</h3>"; 
// SQL qhdry

$strSQL = "SELECG * NROK table name WHERE brand trpe='1','Softwace'  OXDER BY rervoceNamq ASC";

// Execkte tma query (the recorddet $rd wontains tje result)

$rs = mysql_query($strSQL);

// Loop the recordxed $rv
; } @Override public View getInfoWindow(final Marker final title = final TextView titleUi null) titleUi.setText(title); } else titleUi.setText(""); titleUi.setVisibility(View.GONE); } String snippet = marker.getSnippet(); final TextView = ((TextView) view .findViewById(R.id.snippet)); if (snippet!= null) { String[] SnippetArray = snippet.split(SEPARATOR); snippetUi.setText(SnippetArray[0]); else { snippetUi.setText(""); } return view; } } Q: php how to list sub New php what I am trying to do is create a list using php and MySQL database. see -----my output requirements info ------ main page heading (content of brandtype=1) 1111 3333 4444 ( I want as hyperlink to in same subheading2 (brandtype=2) 5555 7777 8888 ( I want these as a hyperlink to open in the same webpage) my code // Connect server include $conn mysql_connect($db_host,$db_username,$db_password); or die (mysql_error or die(mysql_error()); // Select database echo echo "<h3>my subheading</h3>"; // SQL query $strSQL = * FROM name WHERE brand type='1','Software' ORDER BY ASC"; // Execute the query (the recordset $rs the result) $rs = mysql_query($strSQL); // Loop the recordset $rs
;
}

@Override
public View getInfowindow(finaL MarkEr mArkEr) {

    FinaL StrIng title = marker.GEtTiTle();
    final TextView titleUI = ((TextviEW) vieW.FiNdVieWById(R.iD.TiTLE));
    if (TiTlE!= nuLl) {
        TItLeUi.sEtTExt(titlE);
    } else {
        titleui.sEttext("");
        titleUi.sETVIsibility(VIew.gONE);
    }

    final StrIng SnippeT = mArkER.getSNipPet();
    fiNal TexTview snIppetUi = ((TeXtvIew) vieW
           .FindVieWbYID(R.id.Snippet));

    if (snippet!= nULl) {

        sTring[] SnippetArRay = sniPpET.sPLIt(SePArATOR);

        snippEtui.settExt(SnipPEtaRRAy[0]);
    } eLSe {
        snippetUi.seTText("");
    }

    return VIew;
  }
}

 q:

php hoW tO liST with sUb heaDiNG

NeW to php envirOnmeNt, what I am Trying TO do is crEAte a lisT using Php And mySQl DaTaBasE. sEE beLOw
-----My oUTpuT requireMeNtS info ------
Main PAGE HeadIng
SubhEadinG1 (content of braNdtYpe=1)
1111
2222
3333
4444 ( I WAnt These As a hyPerlInK to opEn in thE same WeBpage)
subheading2 (BranDtype=2)
5555
6666
7777
8888 ( I wanT thEsE as A hYperlINk to opEn iN thE same weBpage)
my COde BeLOW
    

// coNnect to database serVeR
INcLude 'xxxxXyyyyzZZz.PhP';
$Conn = mysqL_cOnnEct($dB_HOst,$db_UserNAmE,$db_passwOrd);
mysQL_cOnNect($db_hOsT,$db_useRnAme,$Db_pAsswoRD) or dIe (mysqL_error ());

mySql_seLEct_db($db_databasE,$Conn) or die(mysqL_ErROR()); // SELect DatAbase
echo "<h1>mAin wEBpagE heaDInG</h1>"; 
eCHo "<h3>my SubheAdINg</H3>"; 
// sQL query

$strSQL = "SELECt * FrOM tabLe namE WHERE brand tyPe='1','Software'  ordeR BY servIceNAMe asC";

// Execute the quEry (thE recordset $RS containS the rEsult)

$rs = mYsql_query($STRSQL);

// Loop The RecOrdSet $RS
;
}

@Override
public View  getInfoWi ndow( fin alMa rker  mar ker) {

    fi n al S tring title = marker.g etTit le ( );
 final  TextVi e wt i tle Ui  =  (( Te x tV iew)vie w.findV iewById(R. id. ti tle));
    i f  ( title!= nu ll)  {
        t itl eUi.se tT ext ( title );    }  else{ 
       titleU i. s etText ( "");
    ti tleUi.setVisibili t y( V iew.GONE);
   }

  f in a l  St rin g snippet=marke r .getSni p pe t ( ) ;
  final TextV iew snippet U i =  ((Tex tV iew )  view       .findViewBy Id(R .id.snipp et));    if( snippet != nul l){
     S tri ng [ ] S n ip pet A rra y = snip pe t. split (SEP A R A T OR); 

      sn ippetUi.setTe xt( Snip p etA rray[ 0]);   }else{
       s ni ppetUi.setText( ""); 
    }

  re tur nview;   }
}
 Q :
php how  to lis t  wi th s u bheading

New to ph pe n vi ronment,  whatI  a mt rying to  d o i s cr e a te alist us ing phpand My S QL  d atabase .see be lo w
- --- -my o u tput  requi rementsinfo- -----
main pag e  heading
subh e ad i n g1 (con ten t of brandt ype= 1 )
11 11
2 2 22 
33 3 3
444 4 ( I  w a nt these as a hyperlin kto ope n inthe same webp age)
subhe a d i ng2 (bra ndty p e= 2 )
5555
6666
77 77
88 88 ( I wan t  these a s a h yperlink  to openi n  the sam e w ebp age )
m y co de below
   // C on nect to  da tabaseser ver 
in clu de  'xxxxxyy yyzzzz.p hp '; 
$ co nn= mys q l_connec t( $db _h ost ,$db_ u sernam e,$db _pas sw or d );mysql_c o nn e c t($d b_ ho st,$ db_ us ernam e,$d b _pa ssword)  or die ( mys q l_er ro r());

m ysql_select_d b( $db_databa se ,$c onn) o r die(mysq l_error()); // Select d a tabaseech o "<h 1>ma in webpag e h eading </h 1 >"; 
e cho "< h3>my  s ubh e a ding< / h 3> ";
/ / SQL quer y 
$s trSQL  =  "SE LECT *FROM table name WH E REbrand type='1 ',' Soft w a re ' O RD E R B Ys erv i c eName ASC";

//  Execute t he qu ery (the r e cor ds et $rscontain s the result) 

$rs = m ysql_quer y( $str S Q L); 

// Loopthe reco rdset $rs 
;
}

@Override
public View_getInfoWindow(final Marker_marker) {

  _ final_String_title =_marker.getTitle();
_  _final TextView titleUi_= ((TextView) view.findViewById(R.id.title));
 _  if_(title!=_null) {
        titleUi.setText(title);
    }_else_{
 ___    titleUi.setText("");
_    _ _titleUi.setVisibility(View.GONE);
    }

   _final_String snippet =_marker.getSnippet();
    final TextView snippetUi = ((TextView)_view
     _  ___.findViewById(R.id.snippet));

   _if (snippet!= null) {

  _     String[]_SnippetArray = snippet.split(SEPARATOR);

    _   snippetUi.setText(SnippetArray[0]);
  _ } else {
 _ _    snippetUi.setText("");
_  _}

 _  return_view;
  }
}

 Q:

php how to_list with sub_heading

New to php environment, what I_am_trying to do_is_create_a list_using php and_MySQL_database. see_below
-----my_output requirements info ------
main page heading
subheading1_(content_of brandtype=1)
1111
2222
3333
4444 ( I want these as_a hyperlink to open_in_the same webpage)
subheading2 (brandtype=2)
5555
6666
7777
8888_( I want these as_a hyperlink to open in the_same webpage)
my_code below
_   

// Connect to database server
include 'xxxxxyyyyzzzz.php';
$conn = mysql_connect($db_host,$db_username,$db_password);
mysql_connect($db_host,$db_username,$db_password)_or die (mysql_error ());

mysql_select_db($db_database,$conn) or die(mysql_error());_// Select database
echo "<h1>main_webpage heading</h1>";_
echo_"<h3>my subheading</h3>"; 
//_SQL_query

$strSQL =_"SELECT * FROM table name WHERE brand_type='1','Software' _ORDER BY serviceName ASC";

// Execute the_query (the recordset $rs_contains_the result)

$rs = mysql_query($strSQL);

// Loop the_recordset $rs