topical media & game development
#mobile-ar-8-4.txt / txt
// Prepare radiolist value which will be used in SQL statement.
// In this function, we convert the returned value into the ones that are
// stored in the database.
//
// Arguments:
// radiolist ; the integer value of radiolist parameter in the
// GetPOI request.
//
// Returns:
// radio_value ; the value that can be used to construct the right SQL
// statement.
function GetRadioValue (radiolist exists, prepare radio_value.
if( isset( radio_value;
// if radio_value =”sale”;
// if radio_value =”rent”;
switch (radio_value = “sale” ;
break;
case ‘2’:
radiolist );
} //switch
return
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.